You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2007/10/13 00:51:50 UTC

[jira] Updated: (IO-127) Move to a minimum of JDK 1.4

     [ https://issues.apache.org/jira/browse/IO-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton updated IO-127:
-------------------------------

    Attachment: commons-io-jdk-1_3-check.patch

Jochen's point that we rely on the compiler settings anyway is good, but what has always struck me as strange is that having set the source/target options to JDK 1.3 that classes which contain JDK 1.4 dependant code would even compile - and I'm not sure they do using ant, so I think this is some maven magic. So verifying that the compiled artifacts do still work was a good exercise which makes me happier having done it. Whether we need to include the check is another thing though. I'm attaching the small test I used, but I don't plan on committing it unless someone else wants it.

> Move to a minimum of JDK 1.4
> ----------------------------
>
>                 Key: IO-127
>                 URL: https://issues.apache.org/jira/browse/IO-127
>             Project: Commons IO
>          Issue Type: Task
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: commons-io-jdk-1_3-check.patch
>
>
> There was a discussion a while back on moving Commons IO to a minimum JDK version of 1.4 - see [1] below. The majority view was this was a good idea. Jorg Schaible suggested[2] that the compiler options be kept at JDK 1.3 so that, apart from new JDK 1.4 dependant features, Commons IO would still operate under JDK 1.3. This seems like a good idea and resolves the issue of whether this would require a major version change.
> There was also a view that we should move to JDK 1.5 instead - I have no issue with that, but would advocate that theres no point in doing so until there are people wanting to commit JDK 1.5 dependant features.
> This change is targeted at Commons IO 1.4 - and a Commons IO 1.3 branch has been created for anyone still desiring future JDK 1.3 only releases.
> [1] http://mail-archives.apache.org/mod_mbox/commons-dev/200705.mbox/%3c55afdc850705152004o4c9e009ex53ceed5b20fdf591@mail.gmail.com%3e
> [2] http://mail-archives.apache.org/mod_mbox/commons-dev/200705.mbox/%3cf2p2ud$37s$2@sea.gmane.org%3e

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