Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.8.1
-
None
-
None
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.