8267338: [JVMCI] revive JVMCI API removed by JDK-8243287
Reviewed-by: mchung, hseigel
This commit is contained in:
parent
0b49f5ae19
commit
fdd0352884
@ -136,6 +136,15 @@ public interface ResolvedJavaType extends JavaType, ModifiersProvider, Annotated
|
||||
*/
|
||||
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 @@ public class TestResolvedJavaType extends TypeUniverse {
|
||||
"isLinked",
|
||||
"getJavaClass",
|
||||
"getObjectHub",
|
||||
"getHostClass",
|
||||
"hasFinalizableSubclass",
|
||||
"hasFinalizer",
|
||||
"isLocal",
|
||||
|
Loading…
Reference in New Issue
Block a user