commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SANDBOX-317) Supporting different JDK versions
Date Thu, 26 Nov 2009 02:46:40 GMT

    [ https://issues.apache.org/jira/browse/SANDBOX-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782729#action_12782729
] 

Niall Pemberton commented on SANDBOX-317:
-----------------------------------------

I uploaded the generated site with the above patch here:

    * http://people.apache.org/~niallp/runtime/

> Supporting different JDK versions
> ---------------------------------
>
>                 Key: SANDBOX-317
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-317
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Runtime
>            Reporter: Niall Pemberton
>            Priority: Minor
>         Attachments: SANDBOX-317.patch
>
>
> I took a look at the ant build to see what it was doing to conditionally compile for
different JDK versions.
> Currently there is only one JDK 1.6 method used on java.io.File - in this circumstance
then its possible to compile with JDK 1.6, but specify a target of 1.5 any catch the NoSuchMethodException.
> Doing this means the its easy to get the build to work with maven2.
> I guess though from the JAVA7 properties in build.xml that theres more to come thats
not just new methods and this technique won't work.
> Anyway the PMD report churned out a bunch of stuff which might be worth reviewing

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message