Unknown error reported in the JNI "JNI_CreateJavaVM"

Sylvestre Ledru sylvestre.ledru at scilab.org
Wed Sep 15 00:17:50 PDT 2010


Hello,

As suggested in the bug report:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=553
I am contacting you about an small issue.

Starting the JVM a few times with "JNI_CreateJavaVM" may lead to an
error JNI_ERR ("unknown error").
However, it could return JNI_EEXIST ("VM already created") which will be
more interesting to manage the error and debugging. This error code is
already defined in jni.h.

Thanks for considering the (tiny) patch.

Regards,
Sylvestre




-------------- next part --------------
A non-text attachment was scrubbed...
Name: use_eexist_JNI_CreateJavaVM.diff
Type: text/x-patch
Size: 624 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20100915/7e12e514/attachment.bin 


More information about the hotspot-dev mailing list