Reproduce: on Linux
configure --with-debug-level=fastdebug --disable-precompiled-headers --with-jvm-features=-cds,-jfr
Symptom:
/usr/bin/ld: /data/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/systemDictionary.o: in function `SystemDictionary::add_nest_host_error(constantPoolHandle const&, int, stringStream const&)':
/data/jdk/src/hotspot/share/classfile/systemDictionary.cpp:1870:(.text+0x4241): undefined reference to `ConstantPool::resolved_klass_at(int) const'
collect2: error: ld returned 1 exit status
gmake[3]: *** [lib/CompileJvm.gmk:183: /data/jdk/build/linux-x86_64-server-fastdebug/support/modules_libs/java.base/server/libjvm.so] Error 1
gmake[2]: *** [make/Main.gmk:242: hotspot-server-libs] Error 2
configure --with-debug-level=fastdebug --disable-precompiled-headers --with-jvm-features=-cds,-jfr
Symptom:
/usr/bin/ld: /data/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/systemDictionary.o: in function `SystemDictionary::add_nest_host_error(constantPoolHandle const&, int, stringStream const&)':
/data/jdk/src/hotspot/share/classfile/systemDictionary.cpp:1870:(.text+0x4241): undefined reference to `ConstantPool::resolved_klass_at(int) const'
collect2: error: ld returned 1 exit status
gmake[3]: *** [lib/CompileJvm.gmk:183: /data/jdk/build/linux-x86_64-server-fastdebug/support/modules_libs/java.base/server/libjvm.so] Error 1
gmake[2]: *** [make/Main.gmk:242: hotspot-server-libs] Error 2
- caused by
-
JDK-8365526 Crash with null Symbol passed to SystemDictionary::resolve_or_null
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/28946