6895875: Missing serialVersionUID in sun.management classes

Added serialVersionUID to fix warning errors

Reviewed-by: alanb
This commit is contained in:
Mandy Chung 2009-10-28 11:18:01 -07:00
parent f66cba870b
commit 48b475ef76
20 changed files with 36 additions and 0 deletions

View File

@ -146,4 +146,6 @@ public class AgentConfigurationError extends Error {
public String[] getParams() {
return params;
}
private static final long serialVersionUID = 1211605593516195475L;
}

View File

@ -248,4 +248,5 @@ public class GcInfoCompositeData extends LazyCompositeData {
return baseGcInfoCompositeType;
}
private static final long serialVersionUID = -5716428894085882742L;
}

View File

@ -192,4 +192,6 @@ public abstract class LazyCompositeData
return isTypeMatched(type1.getRowType(), type2.getRowType());
}
private static final long serialVersionUID = -2190411934472666714L;
}

View File

@ -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 {

View File

@ -127,4 +127,5 @@ public class MemoryNotifInfoCompositeData extends LazyCompositeData {
}
}
private static final long serialVersionUID = -1805123446483771291L;
}

View File

@ -126,4 +126,6 @@ public class MemoryUsageCompositeData extends LazyCompositeData {
"Unexpected composite type for MemoryUsage");
}
}
private static final long serialVersionUID = -8504291541083874143L;
}

View File

@ -143,4 +143,6 @@ public class MonitorInfoCompositeData extends LazyCompositeData {
"Unexpected composite type for MonitorInfo");
}
}
private static final long serialVersionUID = -5825215591822908529L;
}

View File

@ -120,4 +120,6 @@ public class StackTraceElementCompositeData extends LazyCompositeData {
"Unexpected composite type for StackTraceElement");
}
}
private static final long serialVersionUID = -2704607706598396827L;
}

View File

@ -410,4 +410,6 @@ public class ThreadInfoCompositeData extends LazyCompositeData {
}
}
private static final long serialVersionUID = 2464378539119753175L;
}

View File

@ -128,4 +128,6 @@ public class VMOptionCompositeData extends LazyCompositeData {
"Unexpected composite type for VMOption");
}
}
private static final long serialVersionUID = -2395573975093578470L;
}

View File

@ -53,4 +53,6 @@ class ByteArrayCounterSnapshot extends AbstractCounter
public byte byteAt(int index) {
return value[index];
}
private static final long serialVersionUID = 1444793459838438979L;
}

View File

@ -42,4 +42,6 @@ public class InstrumentationException extends RuntimeException {
public InstrumentationException(String message) {
super(message);
}
private static final long serialVersionUID = 8060117844393922797L;
}

View File

@ -53,4 +53,6 @@ class LongArrayCounterSnapshot extends AbstractCounter
public long longAt(int index) {
return value[index];
}
private static final long serialVersionUID = 3585870271405924292L;
}

View File

@ -52,4 +52,6 @@ class LongCounterSnapshot extends AbstractCounter
public long longValue() {
return value;
}
private static final long serialVersionUID = 2054263861474565758L;
}

View File

@ -88,4 +88,6 @@ public class PerfByteArrayCounter extends AbstractCounter
getVectorLength(),
byteArrayValue());
}
private static final long serialVersionUID = 2545474036937279921L;
}

View File

@ -80,4 +80,6 @@ public class PerfLongArrayCounter extends AbstractCounter
getVectorLength(),
longArrayValue());
}
private static final long serialVersionUID = -2733617913045487126L;
}

View File

@ -62,4 +62,6 @@ public class PerfLongCounter extends AbstractCounter
getFlags(),
longValue());
}
private static final long serialVersionUID = 857711729279242948L;
}

View File

@ -86,4 +86,5 @@ public class PerfStringCounter extends PerfByteArrayCounter
stringValue());
}
private static final long serialVersionUID = 6802913433363692452L;
}

View File

@ -49,4 +49,6 @@ class StringCounterSnapshot extends AbstractCounter
public String stringValue() {
return value;
}
private static final long serialVersionUID = 1132921539085572034L;
}

View File

@ -86,4 +86,6 @@ public class SingleEntryRegistry extends RegistryImpl {
private final String name;
private final Remote object;
private static final long serialVersionUID = -4897238949499730950L;
}