hg: jdk9/hs-rt/hotspot: 8031427: AllocObject and Unsafe.allocateInstance segfault for primitive types

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Thu Jan 23 13:47:47 PST 2014


Changeset: d050fbf914d8
Author:    gdub
Date:      2014-01-23 16:02 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/d050fbf914d8

8031427: AllocObject and Unsafe.allocateInstance segfault for primitive types
Summary: The fix just throws an InstantiationException if the Klass is NULL.
Reviewed-by: coleenp, twisti, jrose
Contributed-by: gdub <duboscq at ssw.jku.at>

! src/share/vm/prims/jni.cpp



More information about the jdk9-all-changes mailing list