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 Tue, 10 Apr 2018 13:26:00 GMT


Michael Osipov commented on LANG-1389:

{{SystemUtils}} do not rely on an enum, but still not dynamic. So you would rewrite it at
top of {{Runtime.Version}}? Where is the benefit compared to {{Runtime#version()}}?

> 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