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] [Resolved] (LANG-1447) FieldUtilsTest fails in Java 12
Date Tue, 16 Apr 2019 16:10:00 GMT

     [ https://issues.apache.org/jira/browse/LANG-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rob Tompkins resolved LANG-1447.
--------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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