Skip to content

Commit df49055

Browse files
committed
Fix checkstyle warnings.
1 parent eac79cd commit df49055

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

espresso/src/com.oracle.truffle.espresso/src/com/oracle/truffle/espresso/FinalizationSupport.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)