Skip to main content

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

  • From: "jitu (JIRA)" < >
  • To:
  • Subject: [JIRA] Resolved: (JSONP-25) Build fails using javac 1.6.0
  • Date: Tue, 12 Nov 2013 22:18:49 +0000 (UTC)
  • Auto-submitted: auto-generated


     [ 
https://java.net/jira/browse/JSONP-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jitu resolved JSONP-25.
-----------------------

    Fix Version/s: 1.0.4
       Resolution: Fixed

Fixing it in 1.0.4. Using Throwable instead of two-arg constructor of 
AssertionError.

> 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
>             Fix For: 1.0.4
>
>
> 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

        


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

Przemyslaw Bielicki (JIRA) 11/08/2013

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

Przemyslaw Bielicki (JIRA) 11/12/2013

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

jitu (JIRA) 11/12/2013
 
 
Close
loading
Please Confirm
Close