8139297: java.lang.NoClassDefFoundError: Could not initialize class jdk.internal.jimage.ImageNativeSubstrate
Reviewed-by: alanb, jlaskey
This commit is contained in:
parent
bd69fa0635
commit
dc881c5368
@ -58,7 +58,7 @@ public class BasicImageReader implements AutoCloseable {
|
||||
|
||||
try {
|
||||
substrate = ImageNativeSubstrate.openImage(imagePath, byteOrder);
|
||||
} catch (UnsatisfiedLinkError ex) {
|
||||
} catch (UnsatisfiedLinkError | NoClassDefFoundError ex) {
|
||||
substrate = ImageJavaSubstrate.openImage(imagePath, byteOrder);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user