Skip to main content

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

  • From: "Przemyslaw Bielicki (JIRA)" < >
  • To:
  • Subject: [JIRA] Created: (JSONP-25) Build fails using javac 1.6.0
  • Date: Fri, 8 Nov 2013 12:46:45 +0000 (UTC)
  • Auto-submitted: auto-generated

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

        


[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