aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-07-20 11:26:24 -0700
committerSven Gothel <[email protected]>2013-07-20 11:26:24 -0700
commit15a2f1e8e0e4a467fa3014880b21190d5b4f822e (patch)
tree357b48a6c250f009ad7d15e56913a77412a31eac
parentb435afe9e83730e2455149fccddb1ae7227856b1 (diff)
Remove _default_ workaround for Bug 566. Workaround shall no more be required - and it deadlocks AWT/NEWT jogl/joal lib loading.v2.0.2
Introduced w/ commits 1c03dfd6d1939a46018583419956e350e531f4fe and e9e61421ef6009e6788998c471d1d3d30aaefea6
-rw-r--r--src/java/com/jogamp/common/os/DynamicLibraryBundle.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/java/com/jogamp/common/os/DynamicLibraryBundle.java b/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
index 31ca372..02178a0 100644
--- a/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
+++ b/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
@@ -62,8 +62,6 @@ import com.jogamp.common.util.awt.AWTEDTExecutor;
* </ul>
*/
public class DynamicLibraryBundle implements DynamicLookupHelper {
- public static final boolean USE_CURRENT_THREAD_LIBLOADER = Debug.debug("NativeLibrary.UseCurrentThreadLibLoader");
-
private final DynamicLibraryBundleInfo info;
protected final List<NativeLibrary> nativeLibraries;
@@ -83,11 +81,7 @@ public class DynamicLibraryBundle implements DynamicLookupHelper {
/** Returns an AWT-EDT {@link RunnableExecutor} implementation if AWT is available, otherwise {@link RunnableExecutor#currentThreadExecutor}. */
public static RunnableExecutor getDefaultRunnableExecutor() {
- if(!USE_CURRENT_THREAD_LIBLOADER && Platform.AWT_AVAILABLE) {
- return AWTEDTExecutor.singleton;
- } else {
- return RunnableExecutor.currentThreadExecutor;
- }
+ return RunnableExecutor.currentThreadExecutor;
}
/**