You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/07/20 13:32:38 UTC

[jira] [Resolved] (LANG-1027) org.apache.commons.lang3.SystemUtils#isJavaVersionAtLeast should return true by default

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

Romain Manni-Bucau resolved LANG-1027.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Patch Needed)
                   3.4

> org.apache.commons.lang3.SystemUtils#isJavaVersionAtLeast should return true by default
> ---------------------------------------------------------------------------------------
>
>                 Key: LANG-1027
>                 URL: https://issues.apache.org/jira/browse/LANG-1027
>             Project: Commons Lang
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>             Fix For: 3.4
>
>
> Hi
> last [lang] release doesn't support java 9 (not in JavaVersion enum). However it shouldn't break the org.apache.commons.lang3.SystemUtils#isJavaVersionAtLeast method which should return true when java version is not known (not known = older)
> My proposal is to add UNKNOWN to the enum and override atLeast for this particular value to return true.



--
This message was sent by Atlassian JIRA
(v6.2#6252)