gluegen2 (2.0-rc5-4) hideException.diff

Summary

 src/java/com/jogamp/common/os/Platform.java |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

    
download this patch

Patch contents

Index: gluegen-v2.0-rc5/src/java/com/jogamp/common/os/Platform.java
===================================================================
--- gluegen-v2.0-rc5.orig/src/java/com/jogamp/common/os/Platform.java	2011-12-18 23:11:17.000000000 +0100
+++ gluegen-v2.0-rc5/src/java/com/jogamp/common/os/Platform.java	2011-12-26 01:28:23.362011756 +0100
@@ -302,18 +302,18 @@
     private static void loadGlueGenRTImpl() {
         AccessController.doPrivileged(new PrivilegedAction<Object>() {
             public Object run() {
-              if(USE_TEMP_JAR_CACHE && TempJarCache.initSingleton()) {
-                  final String nativeJarName = libBaseName+"-natives-"+os_and_arch+".jar";
-                  final ClassLoader cl = Platform.class.getClassLoader();                
-                  try {
-                    final URL jarUrlRoot = JarUtil.getURLDirname(
-                                        JarUtil.getJarSubURL(Platform.class.getName(), cl) );
-                    final URL nativeJarURL = JarUtil.getJarFileURL(jarUrlRoot, nativeJarName);
-                    TempJarCache.bootstrapNativeLib(Platform.class, libBaseName, nativeJarURL, cl);
-                  } catch (IOException ioe) {
-                    ioe.printStackTrace();
-                  }
-              }
+              // if(USE_TEMP_JAR_CACHE && TempJarCache.initSingleton()) {
+              //     final String nativeJarName = libBaseName+"-natives-"+os_and_arch+".jar";
+              //     final ClassLoader cl = Platform.class.getClassLoader();                
+              //     try {
+              //       final URL jarUrlRoot = JarUtil.getURLDirname(
+              //                           JarUtil.getJarSubURL(Platform.class.getName(), cl) );
+              //       final URL nativeJarURL = JarUtil.getJarFileURL(jarUrlRoot, nativeJarName);
+              //       TempJarCache.bootstrapNativeLib(Platform.class, libBaseName, nativeJarURL, cl);
+              //     } catch (IOException ioe) {
+              //       ioe.printStackTrace();
+              //     }
+              // }
               DynamicLibraryBundle.GlueJNILibLoader.loadLibrary(libBaseName, false);
               return null;
             }