aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeffpk <[email protected]>2004-03-16 01:27:53 +0000
committerjeffpk <[email protected]>2004-03-16 01:27:53 +0000
commit7864ebb8730af4d8bff2e16f4bf56a70fc2297f1 (patch)
tree549a88018668510c47e626aa224f6809ed1f6a78
parent22a8fb0d3f1a98197687f82b57a435f0117016c2 (diff)
Updated to work with JDK1.5 (needs testing)
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jutils/trunk@23 052365b4-98e0-4bc5-a281-465471b020e0
-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) {