From: <ka...@us...> - 2011-11-17 21:41:31
|
Revision: 3702 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3702&view=rev Author: kappa1 Date: 2011-11-17 21:41:24 +0000 (Thu, 17 Nov 2011) Log Message: ----------- AppletLoader: fix uncaught null pointer exception Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java Modified: trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java 2011-11-16 14:36:28 UTC (rev 3701) +++ trunk/LWJGL/src/java/org/lwjgl/util/applet/AppletLoader.java 2011-11-17 21:41:24 UTC (rev 3702) @@ -1128,13 +1128,10 @@ 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; } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |