[RFA/JDWP] Fix method flags for compiled classes

Tom Tromey tromey@redhat.com
Tue May 15 20:34:00 GMT 2007


>>>>> "Kyle" == Kyle Galloway <kgallowa@redhat.com> writes:

Kyle> Currently, the modifiers for a method for JDWP are determined by the
Kyle> underlying java class, not the actual way in which the method is being
Kyle> run.  If a class, a part of the class libraries for example, has been
Kyle> precompiled and is being run as native code, for JDWPs purposes, this is
Kyle> a native method.  This patch checks if the class for a method is
Kyle> non-interpreted, and if so, marks the method as native.  This prevents
Kyle> eclipse fro attempting to do things like getting the line table which
Kyle> cannot be done for native methods.

Ok, thanks. 

Tom



More information about the Java-patches mailing list