commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Tompkins (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1447) FieldUtilsTest fails in Java 12
Date Wed, 10 Apr 2019 18:29:00 GMT
Rob Tompkins created LANG-1447:
----------------------------------

             Summary: FieldUtilsTest fails in Java 12
                 Key: LANG-1447
                 URL: https://issues.apache.org/jira/browse/LANG-1447
             Project: Commons Lang
          Issue Type: Improvement
    Affects Versions: 3.8.1
            Reporter: Rob Tompkins
            Assignee: Rob Tompkins
             Fix For: 3.9


{{FieldUtils.removeFinalModifier(Field, boolean)} no longer removes the {{final}} modifier
because of a change in java 12. The email: http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-November/056486.html
discusses this in the jcp. In java versions 12.0 or later we should throw sn {{UnsupportedOperationException}}.
Furthermore, we should deprecate the method as it clearly won't have a use in the future.



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

Mime
View raw message