summaryrefslogtreecommitdiff
path: root/gnu/classpath/jdwp/id/JdwpId.java
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/classpath/jdwp/id/JdwpId.java')
-rw-r--r--gnu/classpath/jdwp/id/JdwpId.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/classpath/jdwp/id/JdwpId.java b/gnu/classpath/jdwp/id/JdwpId.java
index 7f610e353..472650de8 100644
--- a/gnu/classpath/jdwp/id/JdwpId.java
+++ b/gnu/classpath/jdwp/id/JdwpId.java
@@ -1,5 +1,5 @@
/* JdwpId.java -- base class for all object ID types
- Copyright (C) 2005 Free Software Foundation
+ Copyright (C) 2005, 2006 Free Software Foundation
This file is part of GNU Classpath.
@@ -51,6 +51,11 @@ import java.lang.ref.SoftReference;
public abstract class JdwpId
{
/**
+ * The size of an ID. The default is 8 bytes (a long).
+ */
+ public static final int SIZE = 8;
+
+ /**
* ID assigned to this object
*/
protected long _id;
@@ -122,11 +127,6 @@ public abstract class JdwpId
}
/**
- * Returns size of this type (used by IDSizes)
- */
- public abstract int size ();
-
- /**
* Writes the contents of this type to the <code>DataOutputStream</code>
* @param outStream the <code>DataOutputStream</code> to use
* @throws IOException when an error occurs on the <code>OutputStream</code>