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; |
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 |
} |
} |
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 |
|
|