File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
espresso/src/com.oracle.truffle.espresso/src/com/oracle/truffle/espresso Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ public final class FinalizationSupport {
9090
9191 static {
9292 try {
93- Class <?> PUBLIC_FINAL_REFERENCE = injectClassInBootClassLoader ("java/lang/ref/PublicFinalReference" , PUBLIC_FINAL_REFERENCE_BYTES );
94- EspressoError .guarantee ("java.lang.ref.FinalReference" .equals (PUBLIC_FINAL_REFERENCE .getSuperclass ().getName ()),
93+ Class <?> publicFinalReference = injectClassInBootClassLoader ("java/lang/ref/PublicFinalReference" , PUBLIC_FINAL_REFERENCE_BYTES );
94+ EspressoError .guarantee ("java.lang.ref.FinalReference" .equals (publicFinalReference .getSuperclass ().getName ()),
9595 "Injected class does not subclass FinalReference" );
9696 } catch (Exception e ) {
9797 throw EspressoError .shouldNotReachHere ("Error injecting PublicFinalReference in the host (version " + HostJavaVersionUtil .JAVA_SPEC + ")" , e );
You can’t perform that action at this time.
0 commit comments