commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1389) Deprecate JavaVersion in favor of java.lang.Runtime.Version
Date Tue, 10 Apr 2018 13:26:00 GMT

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

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: https://issues.apache.org/jira/browse/LANG-1389
>             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
it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message