RFR: 8145471: javac changes for enhanced deprecation

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Oct 17 22:10:58 UTC 2016

Repeat, with subject line.

-- Jon

On 10/17/2016 03:03 PM, Jonathan Gibbons wrote:
> Compiler folk, build folk,
> Please review this update for javac and some build files, for JEP 277.
> The work supports the enhanced Deprecation attribute, and generates a 
> new warning when items are referenced that are declared with 
> @Deprecated(forRemoval=true), in line with the proposals in JEP 277.
> The warnings are on by default, and can be suppressed with 
> -Xlint:-removal or @SuppressWarnings("removal").  Because the warnings 
> are on by default, and because the warnings currently show up when 
> building JDK, some minor build changes are temporarily required to 
> suppress the warnings that get generated during the build.
> -- Jon
> JEP: http://openjdk.java.net/jeps/277
> JBS: https://bugs.openjdk.java.net/browse/JDK-8145471
> Webrev: http://cr.openjdk.java.net/~jjg/8145471/webrev.01/

More information about the build-dev mailing list