summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/classes/com/sun/opengl/util/JOGLAppletLauncher.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java b/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
index 4b68f7ff7..cfee6bde6 100755
--- a/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
+++ b/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
@@ -588,7 +588,11 @@ public class JOGLAppletLauncher extends Applet {
try {
Class alClass = Class.forName("net.java.games.joal.AL", false, this.getClass().getClassLoader());
haveJOAL = true;
- } catch (ClassNotFoundException cnfe) {
+ // Note: it seems that some JRE implementations can throw
+ // SecurityException as well as ClassNotFoundException, at least
+ // if the OpenAL classes are not present and the web server
+ // redirects elsewhere
+ } catch (Exception e) {
}
String[] nativeJarNames = new String[] {