Review request for 6895875: Missing serialVersionUID in sun.management classes

Mandy Chung Mandy.Chung at Sun.COM
Wed Oct 28 00:01:31 PDT 2009


With the fix for 6876135, compiling nio pulls in sun.management classes 
earlier to compile.  make/java/nio/Makefile sets -Xlint:serial -Werror 
flags that also are passed to javac when compiling sun.management 
classes that are not serial javac warning free.  I haven't understood 
completely how sun.management would be pulled to compile due to the 
other fix that modifies logging.   I need to fix the compilation 
warnings so that we can push the fix for 6876135 in b76.  When we 
restructure the source for the modular JDK, we will clean up the 
compilation dependency.

Webrev at:
   http://cr.openjdk.java.net/~mchung/6895875/webrev.00/

I added @SuppressWarnings("serial") to the classes that will never be 
deserialized and added serialVersionUID to the other classes with the 
serial version output from serialver tool.

Thanks
Mandy


More information about the serviceability-dev mailing list