[
https://issues.apache.org/jira/browse/LANG-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15483283#comment-15483283
]
ASF GitHub Bot commented on LANG-1263:
--------------------------------------
Github user britter commented on the issue:
https://github.com/apache/commons-lang/pull/187
@PascalSchumacher I've changed the implementation to use the `IS_JAVA_XX`
fields from `SystemUtils`. However, Java 9 detection is still broken, since it
is broken in `SystemUtils`
> 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)