ASF GitHub Bot commented on LANG-1263:

Github user britter commented on the issue:

    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

Reply via email to