RFR: 8280866: SuppressWarnings does not work properly in package-info and module-info

Vicente Romero vromero at openjdk.java.net
Thu Feb 17 17:11:07 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.

looks sensible

-------------

Marked as reviewed by vromero (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7266


More information about the compiler-dev mailing list