Nullpointers not checked
Christian Thalinger
Christian.Thalinger at Sun.COM
Mon Mar 8 01:30:38 PST 2010
On Sun, 2010-03-07 at 09:04 +0100, Helmut Eller wrote:
> The attached program crashes with this message:
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error (sharedRuntime.cpp:586), pid=4116, tid=3072834448
> # Error: guarantee(cb->is_adapter_blob(),"exception happened outside interpreter, nmethods and vtable stubs (1)")
> #
> # JRE version: 7.0
> # Java VM: OpenJDK Server VM (17.0-b05 interpreted mode linux-x86 )
> # An error report file with more information is saved as:
> # /tmp/hs_err_pid4116.log
Yes, that is a bug. The null-pointer check is there but the implicit
null-pointer exception in the MethodHandle adapter is not recognized.
I will fix that as part of 6932091.
Thanks for finding this!
-- Christian
More information about the mlvm-dev
mailing list