-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P4
-
None
-
Affects Version/s: 6
-
Component/s: tools
-
generic
-
generic
The compiler ignores bogus suboptions to -Xlint and compiles as if no -Xlint options were used. It should give an error message as a user's typo of one of these may result in misinterpretting results.
eg., javac -Xlint:unchekced (instead of -Xlint:unchekced ) will not be rejects, neither will
javac -Xlint:blah
.
eg., javac -Xlint:unchekced (instead of -Xlint:unchekced ) will not be rejects, neither will
javac -Xlint:blah
.
- duplicates
-
JDK-6259914 Should -Xlint complain about trailing garbage?
-
- Closed
-