JDK-4943013 : Please add a way to disable warnings on specific lines of source.
  • Type: Enhancement
  • Component: specification
  • Sub-Component: language
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2003-10-23
  • Updated: 2004-02-04
  • Resolved: 2004-02-04
Related Reports
Duplicate :  
Description
1.5.0's javac has more warnings than previous javac compilers, and these "lint-like" warnings are very useful.  But to encourage their use, there should be some way to disable a warning for a particular line when the programmer knows that the warning is inappropriate for the given context.

###@###.### 2003-10-23