-
Bug
-
Resolution: Fixed
-
P2
-
16
-
b28
# Symptom
```
* For target hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
/home/jvm/jiefu/open/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/compilerRuntime.o: In function `CompilerRuntime::resolve_klass_helper(JavaThread*, char const*, int, Thread*)':
/home/jvm/jiefu/open/jdk/src/hotspot/share/jvmci/compilerRuntime.cpp:72: undefined reference to `Klass::class_loader() const'
collect2: error: ld returned 1 exit status
* For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link:
/home/jvm/jiefu/open/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/compilerRuntime.o: In function `CompilerRuntime::resolve_klass_helper(JavaThread*, char const*, int, Thread*)':
/home/jvm/jiefu/open/jdk/src/hotspot/share/jvmci/compilerRuntime.cpp:72: undefined reference to `Klass::class_loader() const'
collect2: error: ld returned 1 exit status
```
# Reproduce
```
bash configure --with-jvm-features=-shenandoahgc
```
```
* For target hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
/home/jvm/jiefu/open/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/compilerRuntime.o: In function `CompilerRuntime::resolve_klass_helper(JavaThread*, char const*, int, Thread*)':
/home/jvm/jiefu/open/jdk/src/hotspot/share/jvmci/compilerRuntime.cpp:72: undefined reference to `Klass::class_loader() const'
collect2: error: ld returned 1 exit status
* For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link:
/home/jvm/jiefu/open/jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/compilerRuntime.o: In function `CompilerRuntime::resolve_klass_helper(JavaThread*, char const*, int, Thread*)':
/home/jvm/jiefu/open/jdk/src/hotspot/share/jvmci/compilerRuntime.cpp:72: undefined reference to `Klass::class_loader() const'
collect2: error: ld returned 1 exit status
```
# Reproduce
```
bash configure --with-jvm-features=-shenandoahgc
```
- relates to
-
JDK-8257563 Remove excessive include of klass.inline.hpp
-
- Resolved
-