[jboss-jira] [JBoss JIRA] Commented: (JBAS-4501) JBoss AS won't build with JDK 1.6

Fernando Nasser (JIRA) jira-events at lists.jboss.org
Fri May 23 06:10:53 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBAS-4501?page=comments#action_12413976 ] 
            
Fernando Nasser commented on JBAS-4501:
---------------------------------------

Dimitris, first we need 4.2 to compile with JDK1.6 so we can have it built with OpenJDK.  Second, the compilation with 1.6 is catching problems that will affect run-time if one just gets the 1.5 build and use it in 1.6, which otherwise would go unoticed.

Another thing, even if we stuff lots of things in endorsed, there are changes in things like JDBC etc that may still require slightly different binaries.  And note that by overriding parts of the JDK by populating endorsed we'd be NOT really running with JDK 1.6, but with a 1.5/1.6 variant.  If applications expect a 1.6 environment and assume that they may not see the right behavior.

So I think Shelly approach is sound.  Even if we achieve the goal of using a JDK 1.5 build in a 1.6 environment, the differences flagged during the build with 1.6 will allow that to be done more safely (and again, we need it for OpenJDK build).

> JBoss AS won't build with JDK 1.6
> ---------------------------------
>
>                 Key: JBAS-4501
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4501
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossAS-4.2.0.GA
>            Reporter: Fernando Nasser
>         Assigned To: Shelly McGowan
>         Attachments: jboss-build.patch, jbosstestsuite-build.patch
>
>
> JBoss AS 4.2.0.GA fails to build with JDK 1.6

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list