Skip to content

Commit f1dd8ac

Browse files
committed
Make HostedType#findLeastCommonAncestor return HostedType
1 parent e9e91f1 commit f1dd8ac

File tree

1 file changed

+1
-1
lines changed
  • substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/meta

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/meta/HostedType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ public final boolean isAssignableFrom(ResolvedJavaType other) {
425425
}
426426

427427
@Override
428-
public final ResolvedJavaType findLeastCommonAncestor(ResolvedJavaType otherType) {
428+
public final HostedType findLeastCommonAncestor(ResolvedJavaType otherType) {
429429
return universe.lookup(wrapped.findLeastCommonAncestor(((HostedType) otherType).wrapped));
430430
}
431431

0 commit comments

Comments
 (0)