[RFA/JDWP] Fix method flags for compiled classes

Kyle Galloway kgallowa@redhat.com
Thu May 17 18:53:00 GMT 2007


Tom Tromey wrote:
>>>>>> "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. 
>   
This too has been committed.

- Kyle



More information about the Java-patches mailing list