This patch fixes the constructor for VMFrame so that it correctly
requires a "this" pointer for the frame as a parameter.  If the frame is
native, this will be set to null.

ChangeLog
2007-05-08  Kyle Galloway  <[EMAIL PROTECTED]>

    * vm/reference/VMFrame.java (<init>): Add a parameter for the "this"
pointer of the frame.

Questions/Issues?

Thanks,

Kyle
Index: vm/reference/gnu/classpath/jdwp/VMFrame.java
===================================================================
RCS file: /sources/classpath/classpath/vm/reference/gnu/classpath/jdwp/VMFrame.java,v
retrieving revision 1.8
diff -u -r1.8 VMFrame.java
--- vm/reference/gnu/classpath/jdwp/VMFrame.java	9 Mar 2007 21:23:10 -0000	1.8
+++ vm/reference/gnu/classpath/jdwp/VMFrame.java	8 May 2007 16:38:55 -0000
@@ -73,12 +73,15 @@
    * @param thr a Thread, the thread this frame is in
    * @param frame_id a long, the jframeID of this frame
    * @param frame_loc a Location, the location of this frame
+   * @param frame_obj the "this" object of this frame
    */
-  public VMFrame(Thread thr, long frame_id, Location frame_loc)
+  public VMFrame(Thread thr, long frame_id, Location frame_loc,
+                 Object frame_obj)
   {
     thread = thr;
     id = frame_id;
     loc = frame_loc;
+    obj = frame_obj;
   }
   
   /**

Reply via email to