mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-02-19 14:15:34 +01:00
AppletLoader: fix uncaught null pointer exception
This commit is contained in:
parent
ad7769f9c9
commit
54664ef8cb
|
|
@ -1128,13 +1128,10 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
|||
return object;
|
||||
} catch (Exception e) {
|
||||
// failed to read file
|
||||
e.printStackTrace();
|
||||
throw e;
|
||||
} finally {
|
||||
fis.close();
|
||||
}
|
||||
|
||||
// return null if failed to read file
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue