File: hideException.diff

package info (click to toggle)
gluegen2 2.3.2-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,420 kB
  • sloc: java: 45,952; xml: 2,960; ansic: 2,670; cpp: 1,694; sh: 1,251; pascal: 591; asm: 162; makefile: 53
file content (20 lines) | stat: -rw-r--r-- 1,250 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: gluegen2/src/java/com/jogamp/common/os/Platform.java
===================================================================
--- gluegen2.orig/src/java/com/jogamp/common/os/Platform.java
+++ gluegen2/src/java/com/jogamp/common/os/Platform.java
@@ -305,15 +305,6 @@ public class Platform extends PlatformPr
                 _USE_TEMP_JAR_CACHE[0] = ( OS_TYPE != OSType.ANDROID ) && ( null != platformClassJarURI ) &&
                                          PropertyAccess.getBooleanProperty(useTempJarCachePropName, true, true);
 
-                // load GluegenRT native library
-                if(_USE_TEMP_JAR_CACHE[0] && TempJarCache.initSingleton()) {
-                    try {
-                        JNILibLoaderBase.addNativeJarLibs(new Class<?>[] { jogamp.common.Debug.class }, null);
-                    } catch (final Exception e0) {
-                        // IllegalArgumentException, IOException
-                        System.err.println("Caught "+e0.getClass().getSimpleName()+": "+e0.getMessage()+", while JNILibLoaderBase.addNativeJarLibs(..)");
-                    }
-                }
                 DynamicLibraryBundle.GlueJNILibLoader.loadLibrary(libBaseName, false, cl);
 
                 // JVM bug workaround