-
Enhancement
-
Resolution: Fixed
-
P3
-
19
-
b08
The SuppressWarnings annotation type is declared have multiple targets, including modules; however, "package" is left off of its target list. As package-info file are another kind of declaration where a compiler could give warnings, allowing SuppressWarnings in that case is reasonable.
Wanting SuppressWarnings in package-info file came up while working on doclint warnings (JDK-8280534).
Wanting SuppressWarnings in package-info file came up while working on doclint warnings (
- csr for
-
JDK-8280745 Allow SuppressWarnings to be used in package declarations
-
- Closed
-
- relates to
-
JDK-8280866 SuppressWarnings does not work properly in package-info and module-info
-
- Resolved
-
-
JDK-6486906 @SuppressWarnings does not work in package-info.java yet is not rejected
-
- Closed
-
-
JDK-8169069 Module system implementation refresh (11/2016)
-
- Resolved
-
-
JDK-8280534 Enable compile-time doclint reference checking
-
- Resolved
-
(2 links to)