When passing for example, "int.class" to DefineAnonymousClass as the host class a SIGSEGV results. See attached test case
# SIGSEGV (0xb) at pc=0x00007fd0f2d67bc4, pid=17329, tid=17330
#
# JRE version: Java(TM) SE Runtime Environment (9.0-b84) (build 1.9.0-ea-b84)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-ea-b84, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x7d3bc4] Klass::external_name() const+0x14
# SIGSEGV (0xb) at pc=0x00007fd0f2d67bc4, pid=17329, tid=17330
#
# JRE version: Java(TM) SE Runtime Environment (9.0-b84) (build 1.9.0-ea-b84)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-ea-b84, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x7d3bc4] Klass::external_name() const+0x14
- relates to
-
JDK-8058575 IllegalAccessError trying to access package-private class from VM anonymous class
-
- Resolved
-