RFC: Shark calling static jni method jclass argument fix
Gary Benson
gbenson at redhat.com
Thu Apr 22 00:53:18 PDT 2010
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.
Cheers,
Gary
--
http://gbenson.net/
More information about the distro-pkg-dev
mailing list