RFR: JDK-8245664: javac erroneously issues deprecation warning for use of a deprecated package
Vicente Romero
vicente.romero at oracle.com
Wed Sep 2 16:15:50 UTC 2020
looks good,
Vicente
On 9/2/20 6:59 AM, Jan Lahoda wrote:
> 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