[jboss-jira] [JBoss JIRA] Commented: (JBAS-4477) Compile code that doens't use jdk5 features with source/target set to 1.4

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Fri Jun 8 08:40:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4477?page=comments#action_12364677 ] 
            
Dimitris Andreadis commented on JBAS-4477:
------------------------------------------

I switched to source/target 1.4 to see what gives. It seems to work ok since the ejb3/ejb3x/aspects modules where already overriding the build using source/target 1.5.

The problem now is the jboss-j2ee modules that contains javax.ejb.SessionContext.java Carlo to include a method that uses generics. 

I've changed the build on the j2ee module to use source/target 1.5. Then I tried to modify j2ee/build.xml to run javac twice, one for all files except for javax.ejb.SessionContext.java, and a second time just to compile the offending file with 1.5, but couldn't get this to work.

Can you try fixing this, otherwise there is no much use if the whole jboss-j2ee.jar module is compiled targeting 1.5

> Compile code that doens't use jdk5 features with source/target set to 1.4
> -------------------------------------------------------------------------
>
>                 Key: JBAS-4477
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4477
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Build System
>    Affects Versions: JBossAS-4.2.0.GA
>            Reporter: Dimitris Andreadis
>         Assigned To: Rajesh Rajasekaran
>             Fix For: JBossAS-4.2.1.CR1
>
>
> Make it easier for clients on a jdk1.4 runtime to use *some* of the jboss 4.2.x client libs.

-- 
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