Crash with jdk7 in classFileParser.cpp with -esa and -verbose with JNI DefineClass

Felipe Magno de Almeida felipe.m.almeida at gmail.com
Sun Dec 9 05:26:16 PST 2012


Hello,

I'm getting a crash while calling DefineClass through JNI with -esa
and -verbose options enabled.
It seems to try to get the caller with security_get_caller_class, but
this fails because it is a JNI
call. But it tries to print a Loaded xxx by instance of xxx message
with the external name of
the caller, which is null and then crashes.

This is with JDK compiled from arch linux with revisions

_CORBA_CHANGESET=9a95d714d136
_HOTSPOT_CHANGESET=d2d0a106917c # see "${srcdir}/icedtea7"/hotspot.map
_JAXP_CHANGESET=f45296ac69be
_JAXWS_CHANGESET=03f54ef33914
_JDK_CHANGESET=5ec94d162f05
_LANGTOOLS_CHANGESET=ec73c6927fb7
_OPENJDK_CHANGESET=301e79a966b4

and icedtea version 2.3.3, updatever=u9 and java version 7.

Regards,
-- 
Felipe Magno de Almeida


More information about the jdk7-dev mailing list