[RFA] Fix JVMTI method signatures
Keith Seitz
keiths@redhat.com
Thu Jun 21 06:49:00 GMT 2007
Hi,
The attached patch "fixes" JVMTI method signatures returned from the
GetMethodName function. Currently, gcj reports objects in signatures
using '.' to separate package names, i.e., "Ljava.lang.Object;". JDWP
requires this to be "Ljava/lang/Object;".
I've double-checked a JVMTI agent with Sun's HotSpot VM, and it, too,
uses the dotted notation for this. [Not to mention that Eclipse simply
will not work with "Ljava.lang.Object;"...]
QCC?
Keith
ChangeLog
2007-07-20 Keith Seitz <keiths@redhat.com>
* jvmti.cc (_Jv_JVMTI_GetMethodName): When computing the method's
signature, convert '.' into '/'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.patch
Type: text/x-patch
Size: 496 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070621/c649924c/attachment.bin>
More information about the Java-patches
mailing list