8028027: serialver should emit declaration with the 'private' modifier
Reviewed-by: darcy, mchung, alanb, chegar
--- a/jdk/src/share/classes/sun/tools/serialver/SerialVer.java Tue Nov 12 14:52:42 2013 +0100
+++ b/jdk/src/share/classes/sun/tools/serialver/SerialVer.java Tue Nov 12 16:59:51 2013 +0100
@@ -211,7 +211,7 @@
Class<?> cl = Class.forName(classname, false, loader);
ObjectStreamClass desc = ObjectStreamClass.lookup(cl);
if (desc != null) {
- return " static final long serialVersionUID = " +
+ return " private static final long serialVersionUID = " +
desc.getSerialVersionUID() + "L;";
} else {
return null;