< prev index next >
src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java
Print this page
*** 365,381 ****
--- 365,385 ----
return fromClass(kind.toJavaClass());
}
// Resolve non-primitive types in the VM.
HotSpotResolvedObjectTypeImpl hsAccessingType = (HotSpotResolvedObjectTypeImpl) accessingType;
+ try {
final HotSpotResolvedObjectTypeImpl klass = compilerToVm.lookupType(name, hsAccessingType.mirror(), resolve);
if (klass == null) {
assert resolve == false;
return HotSpotUnresolvedJavaType.create(this, name);
}
return klass;
+ } catch (ClassNotFoundException e) {
+ throw (NoClassDefFoundError) new NoClassDefFoundError().initCause(e);
+ }
}
public JVMCIBackend getHostJVMCIBackend() {
return hostBackend;
}
< prev index next >