classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [PATCH/JDWP] VMIdManager buglet


From: Keith Seitz
Subject: [cp-patches] [PATCH/JDWP] VMIdManager buglet
Date: Fri, 09 Sep 2005 15:12:04 -0700
User-agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720)

Hi,

VMIdManager.IdFactory.newObjectId forgot to set the reference for the various IDs. I've committed the attached patch which corrects this buglet.

Keith

ChangeLog
2005-09-09  Keith Seitz  <address@hidden>

        * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newObjectId):
        Set the reference for the ID.
Index: vm/reference/gnu/classpath/jdwp/VMIdManager.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/vm/reference/gnu/classpath/jdwp/VMIdManager.java,v
retrieving revision 1.3
diff -u -p -r1.3 VMIdManager.java
--- vm/reference/gnu/classpath/jdwp/VMIdManager.java    4 Sep 2005 19:50:03 
-0000       1.3
+++ vm/reference/gnu/classpath/jdwp/VMIdManager.java    9 Sep 2005 22:09:24 
-0000
@@ -138,6 +138,7 @@ public class VMIdManager
                        {
                          id.setId (++_lastId);
                        }
+                     id.setReference (obj);
                      return id;
                    }
                  catch (InstantiationException ie)
@@ -162,7 +163,7 @@ public class VMIdManager
        {
          id.setId (++_lastId);
        }
-
+      id.setReference (obj);
       return id;
     }
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]