8319548: Unexpected internal name for Filler array klass causes error in VisualVM
Co-authored-by: Tomáš Hůrka <tomas.hurka@oracle.com> Reviewed-by: ayang, dholmes
This commit is contained in:
parent
e8768ae08d
commit
05745e3f1d
@ -338,7 +338,7 @@ void Universe::genesis(TRAPS) {
|
|||||||
// Initialization of the fillerArrayKlass must come before regular
|
// Initialization of the fillerArrayKlass must come before regular
|
||||||
// int-TypeArrayKlass so that the int-Array mirror points to the
|
// int-TypeArrayKlass so that the int-Array mirror points to the
|
||||||
// int-TypeArrayKlass.
|
// int-TypeArrayKlass.
|
||||||
_fillerArrayKlassObj = TypeArrayKlass::create_klass(T_INT, "Ljdk/internal/vm/FillerArray;", CHECK);
|
_fillerArrayKlassObj = TypeArrayKlass::create_klass(T_INT, "[Ljdk/internal/vm/FillerElement;", CHECK);
|
||||||
for (int i = T_BOOLEAN; i < T_LONG+1; i++) {
|
for (int i = T_BOOLEAN; i < T_LONG+1; i++) {
|
||||||
_typeArrayKlassObjs[i] = TypeArrayKlass::create_klass((BasicType)i, CHECK);
|
_typeArrayKlassObjs[i] = TypeArrayKlass::create_klass((BasicType)i, CHECK);
|
||||||
}
|
}
|
||||||
|
@ -45,6 +45,6 @@ public class TestFillerObjectInstantiation {
|
|||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
testInstantiationFails("jdk.internal.vm.FillerObject");
|
testInstantiationFails("jdk.internal.vm.FillerObject");
|
||||||
testInstantiationFails("jdk.internal.vm.FillerArray");
|
testInstantiationFails("jdk.internal.vm.FillerElement");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user