diff options
-rw-r--r-- | apidocs/allclasses-frame.html | 2 | ||||
-rw-r--r-- | apidocs/allclasses-noframe.html | 2 | ||||
-rw-r--r-- | apidocs/constant-values.html | 2 | ||||
-rw-r--r-- | apidocs/deprecated-list.html | 2 | ||||
-rw-r--r-- | apidocs/help-doc.html | 2 | ||||
-rw-r--r-- | apidocs/index-all.html | 2 | ||||
-rw-r--r-- | apidocs/index.html | 2 | ||||
-rw-r--r-- | bin/jutils.jar | bin | 0 -> 8593 bytes | |||
-rw-r--r-- | src/java/net/java/games/util/plugins/PluginLoader.java | 9 |
9 files changed, 15 insertions, 8 deletions
diff --git a/apidocs/allclasses-frame.html b/apidocs/allclasses-frame.html index f0b6ea3..32e5d85 100644 --- a/apidocs/allclasses-frame.html +++ b/apidocs/allclasses-frame.html @@ -2,7 +2,7 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc on Tue Sep 30 12:22:51 PDT 2003 --> +<!-- Generated by javadoc on Tue Sep 30 12:31:00 PDT 2003 --> <TITLE> All Classes </TITLE> diff --git a/apidocs/allclasses-noframe.html b/apidocs/allclasses-noframe.html index e25228e..ee49fab 100644 --- a/apidocs/allclasses-noframe.html +++ b/apidocs/allclasses-noframe.html @@ -2,7 +2,7 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc on Tue Sep 30 12:22:51 PDT 2003 --> +<!-- Generated by javadoc on Tue Sep 30 12:31:00 PDT 2003 --> <TITLE> All Classes </TITLE> diff --git a/apidocs/constant-values.html b/apidocs/constant-values.html index aced75b..e18471d 100644 --- a/apidocs/constant-values.html +++ b/apidocs/constant-values.html @@ -2,7 +2,7 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc on Tue Sep 30 12:22:51 PDT 2003 --> +<!-- Generated by javadoc on Tue Sep 30 12:31:00 PDT 2003 --> <TITLE> Constant Field Values </TITLE> diff --git a/apidocs/deprecated-list.html b/apidocs/deprecated-list.html index 95246b7..9a9057e 100644 --- a/apidocs/deprecated-list.html +++ b/apidocs/deprecated-list.html @@ -2,7 +2,7 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc on Tue Sep 30 12:22:51 PDT 2003 --> +<!-- Generated by javadoc on Tue Sep 30 12:31:00 PDT 2003 --> <TITLE> Deprecated List </TITLE> diff --git a/apidocs/help-doc.html b/apidocs/help-doc.html index 1b00aad..8d36ba0 100644 --- a/apidocs/help-doc.html +++ b/apidocs/help-doc.html @@ -2,7 +2,7 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc on Tue Sep 30 12:22:52 PDT 2003 --> +<!-- Generated by javadoc on Tue Sep 30 12:31:01 PDT 2003 --> <TITLE> API Help </TITLE> diff --git a/apidocs/index-all.html b/apidocs/index-all.html index 4469a48..4fac18b 100644 --- a/apidocs/index-all.html +++ b/apidocs/index-all.html @@ -2,7 +2,7 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc on Tue Sep 30 12:22:51 PDT 2003 --> +<!-- Generated by javadoc on Tue Sep 30 12:31:00 PDT 2003 --> <TITLE> Index </TITLE> diff --git a/apidocs/index.html b/apidocs/index.html index f3c2789..a49cde0 100644 --- a/apidocs/index.html +++ b/apidocs/index.html @@ -2,7 +2,7 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc on Tue Sep 30 12:22:51 PDT 2003--> +<!-- Generated by javadoc on Tue Sep 30 12:31:00 PDT 2003--> <TITLE> Generated Documentation (Untitled) </TITLE> diff --git a/bin/jutils.jar b/bin/jutils.jar Binary files differnew file mode 100644 index 0000000..f996db1 --- /dev/null +++ b/bin/jutils.jar diff --git a/src/java/net/java/games/util/plugins/PluginLoader.java b/src/java/net/java/games/util/plugins/PluginLoader.java index e2f1754..00545eb 100644 --- a/src/java/net/java/games/util/plugins/PluginLoader.java +++ b/src/java/net/java/games/util/plugins/PluginLoader.java @@ -81,7 +81,8 @@ public class PluginLoader extends URLClassLoader { * legitimate Jar file. */ public PluginLoader(File jf) throws MalformedURLException { - super(new URL[] {jf.toURL()}); + super(new URL[] {jf.toURL()}, + Thread.currentThread().getContextClassLoader()); parentDir = jf.getParentFile(); if (System.getProperty("net.java.games.util.plugins.nolocalnative") !=null){ @@ -99,6 +100,12 @@ public class PluginLoader extends URLClassLoader { * created to support. This allows different Plugins * with supporting DLLs of the same name to co-exist, each * in their own subdirectory. + * + * Setting the global "localDLLs" by setting the property + * net.java.games.util.plugins.nolocalnative defeats this behavior. + * This is necessary for Java Web Start apps which have strong + * restrictions on where and how native libs can be loaded. + * * @param libname The JNI name of the native library to locate. * @return Returns a string describing the actual loation of the * native library in the native file system. |