aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/PluginBridge.java
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net/sourceforge/jnlp/PluginBridge.java')
-rw-r--r--netx/net/sourceforge/jnlp/PluginBridge.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/PluginBridge.java b/netx/net/sourceforge/jnlp/PluginBridge.java
index a54858a..ac703b3 100644
--- a/netx/net/sourceforge/jnlp/PluginBridge.java
+++ b/netx/net/sourceforge/jnlp/PluginBridge.java
@@ -133,7 +133,9 @@ public class PluginBridge extends JNLPFile {
if (main.endsWith(".class"))
main = main.substring(0, main.length() - 6);
- launchType = new AppletDesc(name, main, documentBase, width,
+ // the class name should be of the form foo.bar.Baz not foo/bar/Baz
+ String mainClass = main.replace('/', '.');
+ launchType = new AppletDesc(name, mainClass, documentBase, width,
height, atts);
if (main.endsWith(".class")) //single class file only