6895875: Missing serialVersionUID in sun.management classes
Added serialVersionUID to fix warning errors Reviewed-by: alanb
This commit is contained in:
parent
f66cba870b
commit
48b475ef76
@ -146,4 +146,6 @@ public class AgentConfigurationError extends Error {
|
||||
public String[] getParams() {
|
||||
return params;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1211605593516195475L;
|
||||
}
|
||||
|
@ -248,4 +248,5 @@ public class GcInfoCompositeData extends LazyCompositeData {
|
||||
return baseGcInfoCompositeType;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = -5716428894085882742L;
|
||||
}
|
||||
|
@ -192,4 +192,6 @@ public abstract class LazyCompositeData
|
||||
|
||||
return isTypeMatched(type1.getRowType(), type2.getRowType());
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = -2190411934472666714L;
|
||||
}
|
||||
|
@ -777,6 +777,7 @@ public abstract class MappedMXBeanType {
|
||||
public boolean isValue(Object o) {
|
||||
return false;
|
||||
}
|
||||
private static final long serialVersionUID = -3413063475064374490L;
|
||||
}
|
||||
private static final OpenType inProgress;
|
||||
static {
|
||||
|
@ -127,4 +127,5 @@ public class MemoryNotifInfoCompositeData extends LazyCompositeData {
|
||||
}
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = -1805123446483771291L;
|
||||
}
|
||||
|
@ -126,4 +126,6 @@ public class MemoryUsageCompositeData extends LazyCompositeData {
|
||||
"Unexpected composite type for MemoryUsage");
|
||||
}
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = -8504291541083874143L;
|
||||
}
|
||||
|
@ -143,4 +143,6 @@ public class MonitorInfoCompositeData extends LazyCompositeData {
|
||||
"Unexpected composite type for MonitorInfo");
|
||||
}
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = -5825215591822908529L;
|
||||
}
|
||||
|
@ -120,4 +120,6 @@ public class StackTraceElementCompositeData extends LazyCompositeData {
|
||||
"Unexpected composite type for StackTraceElement");
|
||||
}
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = -2704607706598396827L;
|
||||
}
|
||||
|
@ -410,4 +410,6 @@ public class ThreadInfoCompositeData extends LazyCompositeData {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 2464378539119753175L;
|
||||
}
|
||||
|
@ -128,4 +128,6 @@ public class VMOptionCompositeData extends LazyCompositeData {
|
||||
"Unexpected composite type for VMOption");
|
||||
}
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = -2395573975093578470L;
|
||||
}
|
||||
|
@ -53,4 +53,6 @@ class ByteArrayCounterSnapshot extends AbstractCounter
|
||||
public byte byteAt(int index) {
|
||||
return value[index];
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1444793459838438979L;
|
||||
}
|
||||
|
@ -42,4 +42,6 @@ public class InstrumentationException extends RuntimeException {
|
||||
public InstrumentationException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 8060117844393922797L;
|
||||
}
|
||||
|
@ -53,4 +53,6 @@ class LongArrayCounterSnapshot extends AbstractCounter
|
||||
public long longAt(int index) {
|
||||
return value[index];
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 3585870271405924292L;
|
||||
}
|
||||
|
@ -52,4 +52,6 @@ class LongCounterSnapshot extends AbstractCounter
|
||||
public long longValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 2054263861474565758L;
|
||||
}
|
||||
|
@ -88,4 +88,6 @@ public class PerfByteArrayCounter extends AbstractCounter
|
||||
getVectorLength(),
|
||||
byteArrayValue());
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 2545474036937279921L;
|
||||
}
|
||||
|
@ -80,4 +80,6 @@ public class PerfLongArrayCounter extends AbstractCounter
|
||||
getVectorLength(),
|
||||
longArrayValue());
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = -2733617913045487126L;
|
||||
}
|
||||
|
@ -62,4 +62,6 @@ public class PerfLongCounter extends AbstractCounter
|
||||
getFlags(),
|
||||
longValue());
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 857711729279242948L;
|
||||
}
|
||||
|
@ -86,4 +86,5 @@ public class PerfStringCounter extends PerfByteArrayCounter
|
||||
stringValue());
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 6802913433363692452L;
|
||||
}
|
||||
|
@ -49,4 +49,6 @@ class StringCounterSnapshot extends AbstractCounter
|
||||
public String stringValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1132921539085572034L;
|
||||
}
|
||||
|
@ -86,4 +86,6 @@ public class SingleEntryRegistry extends RegistryImpl {
|
||||
|
||||
private final String name;
|
||||
private final Remote object;
|
||||
|
||||
private static final long serialVersionUID = -4897238949499730950L;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user