You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rob Tompkins (JIRA)" <ji...@apache.org> on 2019/04/10 18:45:00 UTC

[jira] [Updated] (LANG-1447) FieldUtilsTest fails in Java 12

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

Rob Tompkins updated LANG-1447:
-------------------------------
    Description: {{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.  (was: {{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.)

> 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)