aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/net/java/games/util/plugins/Plugins.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/net/java/games/util/plugins/Plugins.java b/src/java/net/java/games/util/plugins/Plugins.java
index f5f9091..c3d5000 100644
--- a/src/java/net/java/games/util/plugins/Plugins.java
+++ b/src/java/net/java/games/util/plugins/Plugins.java
@@ -112,6 +112,7 @@ public class Plugins {
}
String cname = je.getName();
cname = cname.substring(0,cname.length()-6);
+ cname = cname.replace('/','.'); // required by JDK1.5
Class pc = loader.loadClass(cname);
if (loader.attemptPluginDefine(pc)) {
if (DEBUG) {