Skip to content
Permalink
Browse files
8267338: [JVMCI] revive JVMCI API removed by JDK-8243287
Reviewed-by: mchung, hseigel
  • Loading branch information
Doug Simon committed May 19, 2021
1 parent 0b49f5a commit fdd0352884cdbba8a9cd11c6f92f0c2fbd800e11
@@ -136,6 +136,15 @@ default boolean declaresDefaultMethods() {
*/
boolean isAssignableFrom(ResolvedJavaType other);

/**
* Returns {@code null} since support for VM anonymous class was removed by JDK-8243287.
* This method is preserved for JVMCI backwards compatibility.
*/
@Deprecated
default ResolvedJavaType getHostClass() {
return null;
}

/**
* Returns true if this type is exactly the type {@link java.lang.Object}.
*/
@@ -1116,6 +1116,7 @@ private Method findTestMethod(Method apiMethod) {
"isLinked",
"getJavaClass",
"getObjectHub",
"getHostClass",
"hasFinalizableSubclass",
"hasFinalizer",
"isLocal",

1 comment on commit fdd0352

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on fdd0352 May 19, 2021

Please sign in to comment.