< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/SymbolicSnippetEncoder.java

Print this page

        

*** 569,597 **** if (o instanceof SymbolicJVMCIReference) { for (ResolvedJavaType type : accessingClasses) { try { replacement = ((SymbolicJVMCIReference<?>) o).resolve(type); break; ! } catch (NoClassDefFoundError | AssertionError e) { } } } else if (o instanceof UnresolvedJavaType) { for (ResolvedJavaType type : accessingClasses) { try { replacement = ((UnresolvedJavaType) o).resolve(type); break; ! } catch (NoClassDefFoundError | AssertionError e) { } } } else if (o instanceof UnresolvedJavaMethod) { throw new InternalError(o.toString()); } else if (o instanceof UnresolvedJavaField) { for (ResolvedJavaType type : accessingClasses) { try { replacement = ((UnresolvedJavaField) o).resolve(type); break; ! } catch (NoClassDefFoundError | AssertionError e) { } } } else if (o instanceof GraalCapability) { replacement = ((GraalCapability) o).resolve(((GraalJVMCICompiler) getRuntime().getCompiler()).getGraalRuntime()); } else { --- 569,597 ---- if (o instanceof SymbolicJVMCIReference) { for (ResolvedJavaType type : accessingClasses) { try { replacement = ((SymbolicJVMCIReference<?>) o).resolve(type); break; ! } catch (NoClassDefFoundError e) { } } } else if (o instanceof UnresolvedJavaType) { for (ResolvedJavaType type : accessingClasses) { try { replacement = ((UnresolvedJavaType) o).resolve(type); break; ! } catch (NoClassDefFoundError e) { } } } else if (o instanceof UnresolvedJavaMethod) { throw new InternalError(o.toString()); } else if (o instanceof UnresolvedJavaField) { for (ResolvedJavaType type : accessingClasses) { try { replacement = ((UnresolvedJavaField) o).resolve(type); break; ! } catch (NoClassDefFoundError e) { } } } else if (o instanceof GraalCapability) { replacement = ((GraalCapability) o).resolve(((GraalJVMCICompiler) getRuntime().getCompiler()).getGraalRuntime()); } else {
< prev index next >