提交 17026fa4 编写于 作者: M mchung

6895875: Missing serialVersionUID in sun.management classes

Summary: Added serialVersionUID to fix warning errors
Reviewed-by: alanb
上级 f77f33a1
...@@ -146,4 +146,6 @@ public class AgentConfigurationError extends Error { ...@@ -146,4 +146,6 @@ public class AgentConfigurationError extends Error {
public String[] getParams() { public String[] getParams() {
return params; return params;
} }
private static final long serialVersionUID = 1211605593516195475L;
} }
...@@ -248,4 +248,5 @@ public class GcInfoCompositeData extends LazyCompositeData { ...@@ -248,4 +248,5 @@ public class GcInfoCompositeData extends LazyCompositeData {
return baseGcInfoCompositeType; return baseGcInfoCompositeType;
} }
private static final long serialVersionUID = -5716428894085882742L;
} }
...@@ -192,4 +192,6 @@ public abstract class LazyCompositeData ...@@ -192,4 +192,6 @@ public abstract class LazyCompositeData
return isTypeMatched(type1.getRowType(), type2.getRowType()); return isTypeMatched(type1.getRowType(), type2.getRowType());
} }
private static final long serialVersionUID = -2190411934472666714L;
} }
...@@ -777,6 +777,7 @@ public abstract class MappedMXBeanType { ...@@ -777,6 +777,7 @@ public abstract class MappedMXBeanType {
public boolean isValue(Object o) { public boolean isValue(Object o) {
return false; return false;
} }
private static final long serialVersionUID = -3413063475064374490L;
} }
private static final OpenType inProgress; private static final OpenType inProgress;
static { static {
......
...@@ -127,4 +127,5 @@ public class MemoryNotifInfoCompositeData extends LazyCompositeData { ...@@ -127,4 +127,5 @@ public class MemoryNotifInfoCompositeData extends LazyCompositeData {
} }
} }
private static final long serialVersionUID = -1805123446483771291L;
} }
...@@ -126,4 +126,6 @@ public class MemoryUsageCompositeData extends LazyCompositeData { ...@@ -126,4 +126,6 @@ public class MemoryUsageCompositeData extends LazyCompositeData {
"Unexpected composite type for MemoryUsage"); "Unexpected composite type for MemoryUsage");
} }
} }
private static final long serialVersionUID = -8504291541083874143L;
} }
...@@ -143,4 +143,6 @@ public class MonitorInfoCompositeData extends LazyCompositeData { ...@@ -143,4 +143,6 @@ public class MonitorInfoCompositeData extends LazyCompositeData {
"Unexpected composite type for MonitorInfo"); "Unexpected composite type for MonitorInfo");
} }
} }
private static final long serialVersionUID = -5825215591822908529L;
} }
...@@ -120,4 +120,6 @@ public class StackTraceElementCompositeData extends LazyCompositeData { ...@@ -120,4 +120,6 @@ public class StackTraceElementCompositeData extends LazyCompositeData {
"Unexpected composite type for StackTraceElement"); "Unexpected composite type for StackTraceElement");
} }
} }
private static final long serialVersionUID = -2704607706598396827L;
} }
...@@ -410,4 +410,6 @@ public class ThreadInfoCompositeData extends LazyCompositeData { ...@@ -410,4 +410,6 @@ public class ThreadInfoCompositeData extends LazyCompositeData {
} }
} }
private static final long serialVersionUID = 2464378539119753175L;
} }
...@@ -128,4 +128,6 @@ public class VMOptionCompositeData extends LazyCompositeData { ...@@ -128,4 +128,6 @@ public class VMOptionCompositeData extends LazyCompositeData {
"Unexpected composite type for VMOption"); "Unexpected composite type for VMOption");
} }
} }
private static final long serialVersionUID = -2395573975093578470L;
} }
...@@ -53,4 +53,6 @@ class ByteArrayCounterSnapshot extends AbstractCounter ...@@ -53,4 +53,6 @@ class ByteArrayCounterSnapshot extends AbstractCounter
public byte byteAt(int index) { public byte byteAt(int index) {
return value[index]; return value[index];
} }
private static final long serialVersionUID = 1444793459838438979L;
} }
...@@ -42,4 +42,6 @@ public class InstrumentationException extends RuntimeException { ...@@ -42,4 +42,6 @@ public class InstrumentationException extends RuntimeException {
public InstrumentationException(String message) { public InstrumentationException(String message) {
super(message); super(message);
} }
private static final long serialVersionUID = 8060117844393922797L;
} }
...@@ -53,4 +53,6 @@ class LongArrayCounterSnapshot extends AbstractCounter ...@@ -53,4 +53,6 @@ class LongArrayCounterSnapshot extends AbstractCounter
public long longAt(int index) { public long longAt(int index) {
return value[index]; return value[index];
} }
private static final long serialVersionUID = 3585870271405924292L;
} }
...@@ -52,4 +52,6 @@ class LongCounterSnapshot extends AbstractCounter ...@@ -52,4 +52,6 @@ class LongCounterSnapshot extends AbstractCounter
public long longValue() { public long longValue() {
return value; return value;
} }
private static final long serialVersionUID = 2054263861474565758L;
} }
...@@ -88,4 +88,6 @@ public class PerfByteArrayCounter extends AbstractCounter ...@@ -88,4 +88,6 @@ public class PerfByteArrayCounter extends AbstractCounter
getVectorLength(), getVectorLength(),
byteArrayValue()); byteArrayValue());
} }
private static final long serialVersionUID = 2545474036937279921L;
} }
...@@ -80,4 +80,6 @@ public class PerfLongArrayCounter extends AbstractCounter ...@@ -80,4 +80,6 @@ public class PerfLongArrayCounter extends AbstractCounter
getVectorLength(), getVectorLength(),
longArrayValue()); longArrayValue());
} }
private static final long serialVersionUID = -2733617913045487126L;
} }
...@@ -62,4 +62,6 @@ public class PerfLongCounter extends AbstractCounter ...@@ -62,4 +62,6 @@ public class PerfLongCounter extends AbstractCounter
getFlags(), getFlags(),
longValue()); longValue());
} }
private static final long serialVersionUID = 857711729279242948L;
} }
...@@ -86,4 +86,5 @@ public class PerfStringCounter extends PerfByteArrayCounter ...@@ -86,4 +86,5 @@ public class PerfStringCounter extends PerfByteArrayCounter
stringValue()); stringValue());
} }
private static final long serialVersionUID = 6802913433363692452L;
} }
...@@ -49,4 +49,6 @@ class StringCounterSnapshot extends AbstractCounter ...@@ -49,4 +49,6 @@ class StringCounterSnapshot extends AbstractCounter
public String stringValue() { public String stringValue() {
return value; return value;
} }
private static final long serialVersionUID = 1132921539085572034L;
} }
...@@ -86,4 +86,6 @@ public class SingleEntryRegistry extends RegistryImpl { ...@@ -86,4 +86,6 @@ public class SingleEntryRegistry extends RegistryImpl {
private final String name; private final String name;
private final Remote object; private final Remote object;
private static final long serialVersionUID = -4897238949499730950L;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册