commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Commented] (LANG-1389) Deprecate JavaVersion in favor of java.lang.Runtime.Version
Date Sun, 08 Apr 2018 15:48:00 GMT


Michael Osipov commented on LANG-1389:

This was not my intention. The intention was to indicate that this enum is error-prone and
can be safely replaced with the new Java 9 implementation. For those who still rely on it,
should not fall in the same pitfalll like we do. I see no reason maintaining this class in
the future when Lang will require Java 11 LTS.

> Deprecate JavaVersion in favor of java.lang.Runtime.Version
> -----------------------------------------------------------
>                 Key: LANG-1389
>                 URL:
>             Project: Commons Lang
>          Issue Type: Task
>          Components: lang.*
>    Affects Versions: 3.7
>            Reporter: Michael Osipov
>            Priority: Major
> With the rapid release cycle of Java {{JavaVersion}} does not really work anymore. We
at Maven have constant issues with our subprojects for missing Java version in {{JavaVersion}}
enum. To solve this problem, Commons Lang must be release at least every six months and we
have re-release all affected components. Since this does not scale, I would recommend to deprecate
this enum in favor of {{java.lang.Runtime.Version}} or have a better non-enum approach to

This message was sent by Atlassian JIRA

View raw message