RFC: Shark calling static jni method jclass argument fix

Gary Benson gbenson at redhat.com
Thu Apr 22 02:38:53 PDT 2010


Xerxes Rånby wrote:
> On 2010-04-22 09:53, Gary Benson wrote:
> > Xerxes Ranby wrote:
> > > When Shark jits code that calls static jni methods then the jvm
> > > bombs if the static jni code tries to use the passed jclass
> > > argument.
> > ...
> > > The attached patch fix!
> > 
> > Good catch!
> >   
> > > ok to commit?
> >     
> > Can you make it:
> >
> >   target()->method_holder()->klass_part()->java_mirror()
> >
> > The two are equivalent, but nothing in Shark should reference
> > the constants pool directly.
> 
> Thank you for the code review Gary!

Thank you for the fix :)

Cheers,
Gary

-- 
http://gbenson.net/



More information about the distro-pkg-dev mailing list