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/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1961,10 +1961,10 @@ private EspressoException unsatisfiedLinkError() {
19611961 private void checkPoisonPill (Meta meta ) {
19621962 if (poisonPill ) {
19631963 // Conflicting Maximally-specific non-abstract interface methods.
1964- if (getJavaVersion ().java9OrLater ( ) && getSpecComplianceMode () == EspressoOptions .SpecComplianceMode .HOTSPOT ) {
1964+ if (getJavaVersion ().inRange ( 9 , 25 ) && getSpecComplianceMode () == EspressoOptions .SpecComplianceMode .HOTSPOT ) {
19651965 /*
19661966 * Supposed to be IncompatibleClassChangeError (see jvms-6.5.invokeinterface),
1967- * but HotSpot throws AbstractMethodError.
1967+ * but HotSpot throws AbstractMethodError. See JDK-8356942.
19681968 */
19691969 throw meta .throwExceptionWithMessage (meta .java_lang_AbstractMethodError , "Conflicting default methods: " + getName ());
19701970 }
You can’t perform that action at this time.
0 commit comments