commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1263) Add possibility to retrieve the current JavaVersion
Date Sun, 18 Sep 2016 11:38:20 GMT

    [ https://issues.apache.org/jira/browse/LANG-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500832#comment-15500832
] 

ASF GitHub Bot commented on LANG-1263:
--------------------------------------

Github user britter commented on the issue:

    https://github.com/apache/commons-lang/pull/187
  
    We already have `SystemUtils.isJavaVersionAtLeast(JavaVersion)` so there is no reason
to add this API.


> Add possibility to retrieve the current JavaVersion
> ---------------------------------------------------
>
>                 Key: LANG-1263
>                 URL: https://issues.apache.org/jira/browse/LANG-1263
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>            Reporter: Benedikt Ritter
>            Assignee: Benedikt Ritter
>             Fix For: 3.5
>
>
> Currently one has to iterate over all JavaVersion enum values and compare them to the
value of java.specification.version in order to get the current JavaVersion enum value.
> Provide a convenient method for this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message