This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Fix JVMTI/JDWP Exception Handling


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> Ugh, I did it again. I was thinking CNI & interpreted.

Yeah.  Actually CNI can call interpreted code provided the call is via
a vtable and the interpreted class is derived from a CNI class.  The
only thing that doesn't work is CNI instantiating an interpreted
class, calling a static method, or accessing a field -- since these
require a symbol.

Keith> Are you sure about the patch? I don't want to commit anything that
Keith> gives you the willies or keeps you up at night...

It is fine.  Honestly I was asking somewhat lazily, I thought perhaps
there would be a problem if the exception was unexpectedly filtered.
But the comments about JNI methods make it clear that debuggers can't
really rely on this.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]