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 New Issue