Consider the attached test case. It fails with:
---
./src/test/Implicit.java:3: warning: [removal] Depr in test has been deprecated and marked for removal
error: warnings found and -Werror specified
1 error
1 warning
---
The warning is obviously wrong - there's no reference to `Depr` in `Implicit.java`; the warning is actually for the reference to `Depr` in `Use.java`, which is under `@SuppressWarnings("removal")`, and hence should be ignored.
---
./src/test/Implicit.java:3: warning: [removal] Depr in test has been deprecated and marked for removal
error: warnings found and -Werror specified
1 error
1 warning
---
The warning is obviously wrong - there's no reference to `Depr` in `Implicit.java`; the warning is actually for the reference to `Depr` in `Use.java`, which is under `@SuppressWarnings("removal")`, and hence should be ignored.
- blocks
-
JDK-8377101 [lworld] Automatically generate value class sources based on source annotations
-
- In Progress
-