diff options
author | Keith Seitz <keiths@redhat.com> | 2006-02-17 00:09:26 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2006-02-17 00:09:26 +0000 |
commit | 27a6da88a4f67ed05a5e26b5de2747706be49dd6 (patch) | |
tree | 5b32846812cf71c3d4a3b6efa778894bbfcb5eb2 | |
parent | 4600986963f5e116bd8efc2bc0fd0907d0c19794 (diff) | |
download | classpath-27a6da88a4f67ed05a5e26b5de2747706be49dd6.tar.gz |
* vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
Set the ID's reference.
(<clinit>): Remove comments for field, method, and frame ID types,
which will not be handled by VMIdManager.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | vm/reference/gnu/classpath/jdwp/VMIdManager.java | 10 |
2 files changed, 13 insertions, 4 deletions
@@ -1,3 +1,10 @@ +2006-02-16 Keith Seitz <keiths@redhat.com> + + * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId): + Set the ID's reference. + (<clinit>): Remove comments for field, method, and frame ID types, + which will not be handled by VMIdManager. + 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> * javax/swing/JTable.java (getCellEditor, getCellRenderer): diff --git a/vm/reference/gnu/classpath/jdwp/VMIdManager.java b/vm/reference/gnu/classpath/jdwp/VMIdManager.java index 23cbb7b8e..6a8be1014 100644 --- a/vm/reference/gnu/classpath/jdwp/VMIdManager.java +++ b/vm/reference/gnu/classpath/jdwp/VMIdManager.java @@ -1,7 +1,7 @@ /* VMIdManager.java -- A reference/example implementation of a manager for JDWP object/reference type IDs - Copyright (C) 2005 Free Software Foundation + Copyright (C) 2005, 2006 Free Software Foundation This file is part of GNU Classpath. @@ -76,6 +76,10 @@ import java.util.Iterator; * <b>NOTE:</b> All IDs handled by the ID manager (all object and reference * type IDs) are assumed to be of type <code>long</code>. * + * <b>NOTE:</b> This class does not manage virtual machine-specific types, + * like methods, fields, and frames. These already have unique IDs within + * the virtual machine and do not need further abstraction here. + * * @author Keith Seitz (keiths@redhat.com) */ public class VMIdManager @@ -99,9 +103,6 @@ public class VMIdManager // ObjectId and ArrayId are special cases. See newObjectId. _idList.put (ClassLoaderId.typeClass, ClassLoaderId.class); _idList.put (ClassObjectId.typeClass, ClassObjectId.class); - //_idList.put (FieldId.typeClass, FieldId.class); - //_idList.put (FrameId.typeClass, FrameId.class); - //_idList.put (MethodId.typeClass, MethodId.class); _idList.put (StringId.typeClass, StringId.class); _idList.put (ThreadId.typeClass, ThreadId.class); _idList.put (ThreadGroupId.typeClass, ThreadGroupId.class); @@ -187,6 +188,7 @@ public class VMIdManager id = new InterfaceReferenceTypeId (); else id = new ClassReferenceTypeId (); + id.setReference (ref); synchronized (_ridLock) { id.setId (++_lastRid); |