summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-04-17 08:07:37 +0000
committerKenneth Russel <[email protected]>2006-04-17 08:07:37 +0000
commit66035d8db744c3bebd8b4ba1979e3846fa79b24c (patch)
tree09f6b4e4022e30887901f58f97ed1637c29c8b50
parent01cc6901ff9bfea04910005c3764416d6637875e (diff)
Fixed Issue 217: JOGLAppletLauncher attempts to create file with an invalid name
Replaced invalid ':' characters with legal '_' character. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@719 232f8b59-042b-4e1e-8c03-345bb8c30851
-rwxr-xr-xsrc/classes/com/sun/opengl/util/JOGLAppletLauncher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java b/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
index 6db8d39be..a29b05ee6 100755
--- a/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
+++ b/src/classes/com/sun/opengl/util/JOGLAppletLauncher.java
@@ -292,7 +292,7 @@ public class JOGLAppletLauncher extends Applet {
Package p = Package.getPackage("javax.media.opengl");
String installDirName = userHome + File.separator + ".jogl_ext"
- + File.separator + installDirectory + File.separator + p.getImplementationVersion();
+ + File.separator + installDirectory + File.separator + p.getImplementationVersion().replace(':', '_');
final File installDir = new File(installDirName);