Skip to main content

Re: [JIRA] Created: (JSONP-25) Build fails using javac 1.6.0

  • From: Przemysław Bielicki < >
  • To:
  • Subject: Re: [JIRA] Created: (JSONP-25) Build fails using javac 1.6.0
  • Date: Tue, 12 Nov 2013 09:05:08 +0100

Hi,

I'm sending a trivial patch to fix the issue.

Cheers,
Przemyslaw


On Fri, Nov 8, 2013 at 1:46 PM, Przemyslaw Bielicki (JIRA) <
>
 wrote:

> Build fails using javac 1.6.0
> -----------------------------
>
>                  Key: JSONP-25
>                  URL: https://java.net/jira/browse/JSONP-25
>              Project: jsonp
>           Issue Type: Bug
>          Environment: javac 1.6.0_45
>             Reporter: Przemyslaw Bielicki
>
>
> pom.xml defines source and target level at 1.6 but JSONP build fails using
> javac 1.6:
>
> {code}
> [ERROR]
> D:\git_clones\java\jsonp~git\tests\src\test\java\org\glassfish\json\tests\JsonParserTest.java:[696,22]
> cannot find symbol
> [ERROR] symbol  : constructor
> AssertionError(java.lang.String,java.lang.AssertionError)
> [ERROR] location: class java.lang.AssertionError
> [ERROR]
> D:\git_clones\java\jsonp~git\tests\src\test\java\org\glassfish\json\tests\JsonParserTest.java:[724,22]
> cannot find symbol
> [ERROR] symbol  : constructor
> AssertionError(java.lang.String,java.lang.AssertionError)
> [ERROR] location: class java.lang.AssertionError
> [ERROR]
> D:\git_clones\java\jsonp~git\tests\src\test\java\org\glassfish\json\tests\JsonParserTest.java:[766,26]
> cannot find symbol
> [ERROR] symbol  : constructor
> AssertionError(java.lang.String,java.lang.AssertionError)
> [ERROR] location: class java.lang.AssertionError
> {code}
>
> In order to build JSONP correctly one needs to use javac version 1.7.x
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> https://java.net/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>

Attachment: JSONP-25.patch
Description: Binary data



Re: [JIRA] Created: (JSONP-25) Build fails using javac 1.6.0

Przemysław Bielicki 11/12/2013
 
 
Close
loading
Please Confirm
Close