mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 23:44:06 +00:00
AppletLoader: slight tweak to use classloader the way Oracle recommend.
This commit is contained in:
parent
4d59d460d0
commit
020a55d74f
1 changed files with 1 additions and 1 deletions
|
|
@ -1434,7 +1434,7 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
|||
*/
|
||||
protected Image getImage(String s) {
|
||||
try {
|
||||
URL url = ClassLoader.getSystemClassLoader().getResource("/"+s);
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("/"+s);
|
||||
|
||||
// if image not found in jar, look outside it
|
||||
if (url == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue