/[classpath]/classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
ViewVC logotype

Diff of /classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java

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

revision 1.3 by keiths, Thu Aug 25 22:09:49 2005 UTC revision 1.4 by keiths, Fri Sep 2 20:48:25 2005 UTC
# Line 40  exception statement from your version. * Line 40  exception statement from your version. *
40  package gnu.classpath.jdwp.processor;  package gnu.classpath.jdwp.processor;
41    
42  import gnu.classpath.jdwp.JdwpConstants;  import gnu.classpath.jdwp.JdwpConstants;
43    import gnu.classpath.jdwp.VMVirtualMachine;
44  import gnu.classpath.jdwp.exception.InvalidFieldException;  import gnu.classpath.jdwp.exception.InvalidFieldException;
45  import gnu.classpath.jdwp.exception.JdwpException;  import gnu.classpath.jdwp.exception.JdwpException;
46  import gnu.classpath.jdwp.exception.JdwpInternalErrorException;  import gnu.classpath.jdwp.exception.JdwpInternalErrorException;
# Line 241  public class ReferenceTypeCommandSet Line 242  public class ReferenceTypeCommandSet
242      Class clazz = refId.getType();      Class clazz = refId.getType();
243    
244      // We'll need to go into the jvm for this unless there's an easier way      // We'll need to go into the jvm for this unless there's an easier way
245      String sourceFileName = vm.getSourceFile(clazz);      String sourceFileName = VMVirtualMachine.getSourceFile(clazz);
246      JdwpString.writeString(os, sourceFileName);      JdwpString.writeString(os, sourceFileName);
247      // clazz.getProtectionDomain().getCodeSource().getLocation();      // clazz.getProtectionDomain().getCodeSource().getLocation();
248    }    }
# Line 268  public class ReferenceTypeCommandSet Line 269  public class ReferenceTypeCommandSet
269      Class clazz = refId.getType();      Class clazz = refId.getType();
270    
271      // I don't think there's any other way to get this      // I don't think there's any other way to get this
272      int status = vm.getStatus(clazz);      int status = VMVirtualMachine.getClassStatus(clazz);
273      os.writeInt(status);      os.writeInt(status);
274    }    }
275    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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