RFR: JDK-8245664: javac erroneously issues deprecation warning for use of a deprecated package
Jan Lahoda
jan.lahoda at oracle.com
Wed Sep 2 10:59:06 UTC 2020
Hi,
If a package is marked with @Deprecated, javac may issue a deprecation
warning on usages of that package. This contradicts JLS 9.6.4.6.
Proposed fix is to avoid the warning when a package has a @Deprecated
annotations.
Proposed webrev:
http://cr.openjdk.java.net/~jlahoda/8245664/webrev.00/
JBS:
https://bugs.openjdk.java.net/browse/JDK-8245664
How does this look?
Thanks,
Jan
More information about the compiler-dev
mailing list