Skip to content

Commit afe23e8

Browse files
committed
[GR-49264] Make NativeImageHeap#readInlinedField public
PullRequest: graal/19115
2 parents ca2131a + f1dd8ac commit afe23e8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/UnsupportedFeatureError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
public class UnsupportedFeatureError extends Error {
2828
private static final long serialVersionUID = -2281164998442235179L;
2929

30-
UnsupportedFeatureError(String message) {
30+
public UnsupportedFeatureError(String message) {
3131
super(message);
3232
}
3333
}

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/image/NativeImageHeap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public void addTrailingObjects() {
278278
* Bypass shadow heap reading for inlined fields. These fields are not actually present in the
279279
* image (their value is inlined) and are not present in the shadow heap either.
280280
*/
281-
Object readInlinedField(HostedField field, JavaConstant receiver) {
281+
public Object readInlinedField(HostedField field, JavaConstant receiver) {
282282
VMError.guarantee(HostedConfiguration.isInlinedField(field), "Expected an inlined field, found %s", field);
283283
JavaConstant hostedReceiver = ((ImageHeapInstance) receiver).getHostedObject();
284284
/* Use the HostedValuesProvider to get direct access to hosted values. */

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)