mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-11 14:11:36 +00:00
8244852: GraalVM native-image fails after JDK-8238048 change
Reviewed-by: dholmes
This commit is contained in:
parent
398a2b3c37
commit
658fb7ac3e
@ -818,7 +818,7 @@ final class HotSpotResolvedObjectTypeImpl extends HotSpotResolvedJavaType implem
|
||||
@Override
|
||||
public String getSourceFileName() {
|
||||
if (isArray()) {
|
||||
throw new JVMCIError("Cannot call getSourceFileName() on an array klass type: %s", this);
|
||||
return null;
|
||||
}
|
||||
return getConstantPool().getSourceFileName();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user