提交 44aebaa3 编写于 作者: S smarks

8028027: serialver should emit declaration with the 'private' modifier

Reviewed-by: darcy, mchung, alanb, chegar
上级 8cbc207f
......@@ -211,7 +211,7 @@ public class SerialVer extends Applet {
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册