JDK-5047307 : javac -nowarn improperly suppresses JLS-mandated warnings
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2004-05-14
  • Updated: 2017-05-19
  • Resolved: 2005-03-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u6Fixed 6 b27Fixed
Related Reports
Relates :  
Relates :  
Description
The javac option -nowarn improperly suppresses diagnostics that are mandated
by JLS3.  For example, the diagnostic when a method and its overrider do not
agree on varargs, or unchecked casts.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: dragon mustang
11-09-2004

EVALUATION Yes, a bug. -nowarn should be a synonym for -Xlint:none. Certain warnings should not be suppressible. ###@###.### 2004-05-17 According to JLS 9.6.1.6, deprecation warnings must be generated too. ###@###.### 2005-2-02 01:52:07 GMT
17-05-2004