[jboss-jira] [JBoss JIRA] (JBRULES-3226) Make the Drools hudson jobs compile using the Java 5 compiler.

Marco Rietveld (Commented) (JIRA) jira-events at lists.jboss.org
Thu Nov 17 20:18:40 EST 2011


    [ https://issues.jboss.org/browse/JBRULES-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643882#comment-12643882 ] 

Marco Rietveld commented on JBRULES-3226:
-----------------------------------------

Drools currently doesn't compile under java 5. The following error (for both 5.3.x and master) is thrown: 

{noformat}
[ERROR] /opt/bin/jenkins-1.409.1/jobs/drools-5.3.x/workspace/drools-core/src/main/java/org/drools/marshalling/impl/DefaultMarshaller.java:[125,59] org.drools.time.SessionClock cannot be dereferenced
{noformat}

(this is on my local jenkins server).

                
> Make the Drools hudson jobs compile using the Java 5 compiler. 
> ---------------------------------------------------------------
>
>                 Key: JBRULES-3226
>                 URL: https://issues.jboss.org/browse/JBRULES-3226
>             Project: Drools
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.3.0.Final
>            Reporter: Marco Rietveld
>            Assignee: Geoffrey De Smet
>            Priority: Minor
>             Fix For: FUTURE
>
>
> The Hudson/Jenkins jobs at https://hudson.jboss.org/jenkins/view/Drools%20jBPM/ currently use the java 6 compiler to build drools. 
> However, Drools (and jBPM) are explicitly Java 5 compliant. Because the jobs use Java 6, code which is not compatible with Java 5 sometimes gets into the source tree.  
> It would be helpful if all Drools jobs ran under the Java 5 JDK. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list