United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6873849 suppress notes generated by javac
6873849 : suppress notes generated by javac

Details
Type:
Enhancement
Submit Date:
2009-08-20
Status:
Closed
Updated Date:
2012-01-13
Project Name:
JDK
Resolved Date:
2012-01-13
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7

Related Reports

Sub Tasks

Description
javac has an option to suppress warnings but no equivalent option to suppress notes. Most compilers these days have the ability to "run quiet" and not generate any output in the case of a successful compilation.   

Notes are used (amongst other uses) for notification of unchecked and deprecation warnings, so they should not trivially be suppressed. They should not be suppressed on the compiler API (JSR 199), but it would be worth having a hidden option that is effectively equivalent to the host system filtering out these messages with grep or similar.

                                    

Comments
EVALUATION

Yes. -XDsuppressNotes
                                     
2009-08-21



Hardware and Software, Engineered to Work Together