JDK-6476932 : Clean up compile time warnings in JConsole code
Type:Bug
Component:tools
Sub-Component:jconsole
Affected Version:7
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2006-09-29
Updated:2011-03-08
Resolved:2011-03-08
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.
Many warning messages are generated when compiling JConsole with -Xlint:all. These are mostly of type deprecation, unchecked, and serial. A clean build is desirable.
Comments
EVALUATION
There are 41 classes affected by warning messages.
Of these, 28 only report a missing SerialVersionUID when extending Swing classes. An annotation to suppress serial warnings will be added to the top-level classes.
The remaining 13 classes also need minor changes to remove warnings of type deprecation and unchecked.