RFR: JDK-8241254 Simplify usage of UTIL_DEPRECATED_ARG_ENABLE
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Thu Mar 19 08:38:19 UTC 2020
The function UTIL_DEPRECATED_ARG_ENABLE has a wonky API, where the user
is supposed to repeat the argument twice in different ways. It is
possible to do without this strange mechanics.
Currently there are no uses of UTIL_DEPRECATED_ARG_ENABLE in open code.
However, functions like this is not really subject to normal dead-code
removal policy, since they tend to be used only for a transition period,
but they need to be present, since there will always be new options to
deprecate...
Bug: https://bugs.openjdk.java.net/browse/JDK-8241254
WebRev:
http://cr.openjdk.java.net/~ihse/JDK-8241254-simplify-UTIL_DEPRECATED_ARG_ENABLE/webrev.01
/Magnus
More information about the build-dev
mailing list