Skip to content

Commit f295003

Browse files
authored
Merge pull request #990 from AdoptOpenJDK/itw-settings-jre11
make itw-settings run with Java 11
2 parents f3291b5 + 94a3e61 commit f295003

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/src/main/java/net/adoptopenjdk/icedteaweb/jdk89access/SunMiscLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static ImageIcon getSecureImageIcon(final String resource) {
6161
return new ImageIcon(cl.getResource(resource));
6262
} catch (final Exception e) {
6363
LOG.debug("sun.misc.Launcher not found. Looks like app is running jdk9 or higher");
64-
return new ImageIcon(ClassLoader.getSystemClassLoader().getParent().getResource(resource));
64+
return new ImageIcon(ClassLoader.getSystemClassLoader().getResource(resource));
6565
}
6666
}
6767
}

0 commit comments

Comments
 (0)