/[classpath]/classpath/gnu/classpath/jdwp/util/Value.java
ViewVC logotype

Diff of /classpath/gnu/classpath/jdwp/util/Value.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.2 by gnu_andrew, Tue Aug 16 16:22:36 2005 UTC revision 1.1.2.3 by gnu_andrew, Sat Sep 10 15:31:36 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package gnu.classpath.jdwp.util;  package gnu.classpath.jdwp.util;
40    
 import gnu.classpath.jdwp.Jdwp;  
41  import gnu.classpath.jdwp.JdwpConstants;  import gnu.classpath.jdwp.JdwpConstants;
42    import gnu.classpath.jdwp.VMIdManager;
43  import gnu.classpath.jdwp.exception.InvalidFieldException;  import gnu.classpath.jdwp.exception.InvalidFieldException;
44  import gnu.classpath.jdwp.exception.JdwpException;  import gnu.classpath.jdwp.exception.JdwpException;
45  import gnu.classpath.jdwp.exception.JdwpInternalErrorException;  import gnu.classpath.jdwp.exception.JdwpInternalErrorException;
# Line 182  public class Value Line 182  public class Value
182              else              else
183                os.writeByte(JdwpConstants.Tag.OBJECT);                os.writeByte(JdwpConstants.Tag.OBJECT);
184            }            }
185          ObjectId oid = Jdwp.getIdManager().getId(obj);          ObjectId oid = VMIdManager.getDefault().getObjectId(obj);
186          oid.write(os);          oid.write(os);
187        }        }
188    }    }
# Line 244  public class Value Line 244  public class Value
244      else      else
245        {        {
246          // Field is an object          // Field is an object
247          ObjectId oid = Jdwp.getIdManager().readId(bb);          ObjectId oid = VMIdManager.getDefault().readObjectId(bb);
248          return oid.getObject();          return oid.getObject();
249        }        }
250    }    }
# Line 291  public class Value Line 291  public class Value
291        case JdwpConstants.Tag.CLASS_LOADER:        case JdwpConstants.Tag.CLASS_LOADER:
292        case JdwpConstants.Tag.CLASS_OBJECT:        case JdwpConstants.Tag.CLASS_OBJECT:
293          // All these cases are ObjectIds          // All these cases are ObjectIds
294          ObjectId oid = Jdwp.getIdManager().readId(bb);          ObjectId oid = VMIdManager.getDefault().readObjectId(bb);
295          return oid.getObject();          return oid.getObject();
296        default:        default:
297          throw new NotImplementedException("Tag " + tag          throw new NotImplementedException("Tag " + tag

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26