Integrated: 8280866: SuppressWarnings does not work properly in package-info and module-info
Jan Lahoda
jlahoda at openjdk.java.net
Fri Feb 18 11:07:58 UTC 2022
On Fri, 28 Jan 2022 10:57:50 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> `@SuppressWarnings` is not handled properly in `module-info` and, after https://bugs.openjdk.java.net/browse/JDK-8280744, also not in `package-info`. This patch attempts to fix that, by correctly deferring the warnings, and the printing them at an appropriate point.
This pull request has now been integrated.
Changeset: e3365041
Author: Jan Lahoda <jlahoda at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/e3365041bdef4dc09f3e5967124103e4364614fb
Stats: 246 lines in 4 files changed: 234 ins; 0 del; 12 mod
8280866: SuppressWarnings does not work properly in package-info and module-info
Reviewed-by: darcy, vromero
-------------
PR: https://git.openjdk.java.net/jdk/pull/7266
More information about the compiler-dev
mailing list