changeset in /hg/icedtea6: 2009-05-11 Lillian Angel <langel at re...
Lillian Angel
langel at redhat.com
Mon May 11 13:46:45 PDT 2009
changeset cc658d9f4a64 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=cc658d9f4a64
description:
2009-05-11 Lillian Angel <langel at redhat.com>
* rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java
(getDefaultBaseDir): Added null check.
diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
ChangeLog | 5 +++++
rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java | 2 +-
diffs (24 lines):
diff -r 4f5f97dc74fb -r cc658d9f4a64 ChangeLog
--- a/ChangeLog Mon May 11 16:40:56 2009 -0400
+++ b/ChangeLog Mon May 11 16:47:39 2009 -0400
@@ -1,3 +1,8 @@ 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 null check.
+
2009-05-11 Lillian Angel <langel at redhat.com>
* rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java
diff -r 4f5f97dc74fb -r cc658d9f4a64 rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java
--- a/rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java Mon May 11 16:40:56 2009 -0400
+++ b/rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java Mon May 11 16:47:39 2009 -0400
@@ -281,7 +281,7 @@ public class JNLPRuntime {
return null;
File baseDir = new File(System.getProperty("user.home") + "/.netx/");
- if (!baseDir.mkdir())
+ if (baseDir == null || !baseDir.mkdir())
return null;
props.setProperty("basedir", baseDir.toString());
More information about the distro-pkg-dev
mailing list