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() {
1961
1961
private void checkPoisonPill (Meta meta ) {
1962
1962
if (poisonPill ) {
1963
1963
// 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 ) {
1965
1965
/*
1966
1966
* Supposed to be IncompatibleClassChangeError (see jvms-6.5.invokeinterface),
1967
- * but HotSpot throws AbstractMethodError.
1967
+ * but HotSpot throws AbstractMethodError. See JDK-8356942.
1968
1968
*/
1969
1969
throw meta .throwExceptionWithMessage (meta .java_lang_AbstractMethodError , "Conflicting default methods: " + getName ());
1970
1970
}
You can’t perform that action at this time.
0 commit comments