We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f3291b5 + 94a3e61 commit f295003Copy full SHA for f295003
1 file changed
common/src/main/java/net/adoptopenjdk/icedteaweb/jdk89access/SunMiscLauncher.java
@@ -61,7 +61,7 @@ public static ImageIcon getSecureImageIcon(final String resource) {
61
return new ImageIcon(cl.getResource(resource));
62
} catch (final Exception e) {
63
LOG.debug("sun.misc.Launcher not found. Looks like app is running jdk9 or higher");
64
- return new ImageIcon(ClassLoader.getSystemClassLoader().getParent().getResource(resource));
+ return new ImageIcon(ClassLoader.getSystemClassLoader().getResource(resource));
65
}
66
67
0 commit comments