diff options
Diffstat (limited to 'netx')
-rw-r--r-- | netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java index b2ea5f8..a9a84ba 100644 --- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java +++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java @@ -828,11 +828,9 @@ public class JNLPClassLoader extends URLClassLoader { // Check launch info if (mainClass == null) { LaunchDesc launchDesc = file.getLaunchInfo(); - if (launchDesc == null) { - return; + if (launchDesc != null) { + mainClass = launchDesc.getMainClass(); } - - mainClass = launchDesc.getMainClass(); } // The main class may be specified in the manifest |