[RFA] Implement VMVM.getSourceFile

Keith Seitz keiths@redhat.com
Sat Feb 17 17:06:00 GMT 2007


Hi,

The following patch implements the JDWP function 
VMVirtualMachine.getSourceFile. It's pretty straightforward: I've simply 
added an accessor method to _Jv_InterpClass to get at the necessary data.

Ok?

Keith

ChangeLog
  2007-02-16  Keith Seitz  <keiths@redhat.com>

         * include/java-interp.h (_Jv_InterpClass): Declare
         friend function _Jv_GetInterpClassSourceFile.
         * java/lang/Class.h (Class): Likewise.
         * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
         New function.
         * gnu/classpath/jdwp/natVMVirtualMachine.cc
         (getSourceFile): Implement.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getsourcefile.patch
Type: text/x-patch
Size: 2111 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070217/5a351bcc/attachment.bin>


More information about the Java-patches mailing list