Skip to content

Commit a1c87a1

Browse files
committed
svm: workaround incompatibility due to "JDK-8357987: [JVMCI] Add support for retrieving all methods of a ResolvedJavaType"
1 parent 7f78711 commit a1c87a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/meta/SharedMethod.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,11 @@ public interface SharedMethod extends ResolvedJavaMethod {
8383

8484
/** Always call this method indirectly, even if it is normally called directly. */
8585
boolean forceIndirectCall();
86+
87+
/**
88+
* Override to fix JVMCI incompatibility issues (caused by "JDK-8357987: [JVMCI] Add support for
89+
* retrieving all methods of a ResolvedJavaType").
90+
*/
91+
@Override
92+
boolean isDeclared();
8693
}

0 commit comments

Comments
 (0)