[jboss-jira] [JBoss JIRA] Closed: (JBAS-8649) JBoss 7 Fails to Build on Java 6 update 17

David Lloyd (JIRA) jira-events at lists.jboss.org
Mon Nov 22 10:17:53 EST 2010


     [ https://jira.jboss.org/browse/JBAS-8649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd closed JBAS-8649.
-----------------------------

    Resolution: Won't Fix


This looks like a compiler bug.  The fix is to upgrade to a non-bugged JDK.  1.6.0_20 and later are known to work.

> JBoss 7 Fails to Build on Java 6 update 17
> ------------------------------------------
>
>                 Key: JBAS-8649
>                 URL: https://jira.jboss.org/browse/JBAS-8649
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: [darranl at localhost jboss-as]$ java -version
> java version "1.6.0_17"
> Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
> Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)
>            Reporter: Darran Lofthouse
>
> The JBoss AS 7 build fails under Java 1.6 update 17.
> (This is the code within GIT post Alpha1 - the Alpha1 tag builds.)
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2:03.736s
> [INFO] Finished at: Thu Nov 18 14:45:10 GMT 2010
> [INFO] Final Memory: 109M/163M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:testCompile (default-testCompile) on project jboss-as-messaging: Compilation failure
> /home/darranl/src/git/jboss-as/messaging/src/test/java/org/jboss/as/messaging/test/ConfigParsingUnitTestCase.java:[55,106] inconvertible types
> found   : org.jboss.as.model.AbstractSubsystemElement<capture#710 of ?>
> required: org.jboss.as.messaging.MessagingSubsystemElement
> -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :jboss-as-messaging

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list