diff options
Diffstat (limited to 'src/org/jdesktop/applet')
-rw-r--r-- | src/org/jdesktop/applet/util/JNLPAppletLauncher.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/org/jdesktop/applet/util/JNLPAppletLauncher.java b/src/org/jdesktop/applet/util/JNLPAppletLauncher.java index 7237f7d..1fd7183 100644 --- a/src/org/jdesktop/applet/util/JNLPAppletLauncher.java +++ b/src/org/jdesktop/applet/util/JNLPAppletLauncher.java @@ -37,8 +37,8 @@ * intended for use in the design, construction, operation or * maintenance of any nuclear facility. * - * $Revision: 1.18 $ - * $Date: 2007/07/20 23:59:42 $ + * $Revision: 1.19 $ + * $Date: 2007/07/21 00:11:26 $ * $State: Exp $ */ @@ -1878,6 +1878,11 @@ public class JNLPAppletLauncher extends Applet { } String fullLibraryName = (String) nativeLibMap.get(libraryName); + if (fullLibraryName == null) { + // Throw UnsatisfiedLinkError to try to match behavior of System.loadLibrary() + throw new UnsatisfiedLinkError(libraryName); + } + if (DEBUG) { System.err.println(" loading: " + fullLibraryName + ""); } |