Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8269747 | 18 | Jonathan Gibbons | P4 | Resolved | Fixed | b05 |
JDK-8270779 | 17.0.1 | Jonathan Gibbons | P4 | Resolved | Fixed | b03 |
A DESCRIPTION OF THE PROBLEM :
https://docs.oracle.com/en/java/javase/16/docs/specs/man/javac.html
Proposed fix: https://github.com/openjdk/jdk/pull/3937
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Check the section "Examples of Using -Xlint keys" https://docs.oracle.com/en/java/javase/16/docs/specs/man/javac.html#examples-of-using--xlint-keys for "processing" key.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Many possibilities.
- Referenced file name matches contained class.
- Contained class name matches the file name.
- The class to not be not public.
ACTUAL -
Referenced file name does not match the name of public class.
https://docs.oracle.com/en/java/javase/16/docs/specs/man/javac.html
Proposed fix: https://github.com/openjdk/jdk/pull/3937
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Check the section "Examples of Using -Xlint keys" https://docs.oracle.com/en/java/javase/16/docs/specs/man/javac.html#examples-of-using--xlint-keys for "processing" key.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Many possibilities.
- Referenced file name matches contained class.
- Contained class name matches the file name.
- The class to not be not public.
ACTUAL -
Referenced file name does not match the name of public class.
- backported by
-
JDK-8269747 Typo in file name in example for -Xlint:processing
-
- Resolved
-
-
JDK-8270779 Typo in file name in example for -Xlint:processing
-
- Resolved
-
- links to
-
Review openjdk/jdk/3937