changeset in /hg/icedtea6: 2009-05-11 Lillian Angel <langel at re...
Lillian Angel
langel at redhat.com
Tue May 12 10:04:06 PDT 2009
changeset fd22df4a6701 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=fd22df4a6701
description:
2009-05-11 Lillian Angel <langel at redhat.com>
* rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java
(getDefaultBaseDir): Added check for home dir. Return null if homeDir
not found in system properties.
diffstat:
2 files changed, 9 insertions(+), 2 deletions(-)
ChangeLog | 6 ++++++
rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java | 5 +++--
diffs (28 lines):
diff -r cc658d9f4a64 -r fd22df4a6701 ChangeLog
--- a/ChangeLog Mon May 11 16:47:39 2009 -0400
+++ b/ChangeLog Tue May 12 13:04:57 2009 -0400
@@ -1,3 +1,9 @@ 2009-05-11 Lillian Angel <langel at redha
+2009-05-11 Lillian Angel <langel at redhat.com>
+
+ * rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java
+ (getDefaultBaseDir): Added check for home dir. Return null if homeDir
+ not found in system properties.
+
2009-05-11 Lillian Angel <langel at redhat.com>
* rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java
diff -r cc658d9f4a64 -r fd22df4a6701 rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java
--- a/rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java Mon May 11 16:47:39 2009 -0400
+++ b/rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java Tue May 12 13:04:57 2009 -0400
@@ -280,8 +280,9 @@ public class JNLPRuntime {
if (isHeadless())
return null;
- File baseDir = new File(System.getProperty("user.home") + "/.netx/");
- if (baseDir == null || !baseDir.mkdir())
+ String homeDir = System.getProperty("user.home");
+ File baseDir = new File(homeDir + "/.netx/");
+ if (homeDir == null || !baseDir.mkdir())
return null;
props.setProperty("basedir", baseDir.toString());
More information about the distro-pkg-dev
mailing list