/hg/release/icedtea6-1.8: netx: fix browser command in BasicServ...

omajid at icedtea.classpath.org omajid at icedtea.classpath.org
Thu Jul 29 14:32:16 PDT 2010


changeset 7f9444e2228d in /hg/release/icedtea6-1.8
details: http://icedtea.classpath.org/hg/release/icedtea6-1.8?cmd=changeset;node=7f9444e2228d
author: Omair Majid <omajid at redhat.com>
date: Thu Jul 29 17:31:43 2010 -0400

	netx: fix browser command in BasicService.showDocument(URL)

	2010-07-29 Omair Majid <omajid at redhat.com>

	 * NEWS: Add this fix.
	    * netx/net/sourceforge/jnlp/services/XBasicService.java
	(showDocument): Fix missing space in browser command.


diffstat:

3 files changed, 12 insertions(+), 1 deletion(-)
ChangeLog                                             |    6 ++++++
NEWS                                                  |    5 +++++
netx/net/sourceforge/jnlp/services/XBasicService.java |    2 +-

diffs (37 lines):

diff -r bd5bfc5dcab5 -r 7f9444e2228d ChangeLog
--- a/ChangeLog	Wed Jul 28 14:07:38 2010 +0200
+++ b/ChangeLog	Thu Jul 29 17:31:43 2010 -0400
@@ -1,3 +1,9 @@ 2010-07-23  Matthias Klose  <doko at ubuntu
+2010-07-29  Omair Majid  <omajid at redhat.com>
+
+	* NEWS: Update for this fix.
+	* netx/net/sourceforge/jnlp/services/XBasicService.java
+	(showDocument): Fix missing space in browser command.
+
 2010-07-23  Matthias Klose  <doko at ubuntu.com>
 
 	* configure.ac: Bump version to 1.8.1.
diff -r bd5bfc5dcab5 -r 7f9444e2228d NEWS
--- a/NEWS	Wed Jul 28 14:07:38 2010 +0200
+++ b/NEWS	Thu Jul 29 17:31:43 2010 -0400
@@ -1,3 +1,8 @@ New in release 1.8.1 (2010-07-28):
+New in release 1.8.2 (XXXX-XX-XX):
+
+- NetX:
+  - Fix browser command in BasicService.showDocument(URL)
+
 New in release 1.8.1 (2010-07-28):
 
 - OpenJDK:
diff -r bd5bfc5dcab5 -r 7f9444e2228d netx/net/sourceforge/jnlp/services/XBasicService.java
--- a/netx/net/sourceforge/jnlp/services/XBasicService.java	Wed Jul 28 14:07:38 2010 +0200
+++ b/netx/net/sourceforge/jnlp/services/XBasicService.java	Thu Jul 29 17:31:43 2010 -0400
@@ -176,7 +176,7 @@ class XBasicService implements BasicServ
                 // this is bogus because the command may require options;
                 // should use a StreamTokenizer or similar to get tokens
                 // outside of quotes.
-                Runtime.getRuntime().exec(command + url.toString());
+                Runtime.getRuntime().exec(command + " " + url.toString());
                 //Runtime.getRuntime().exec(new String[]{command,url.toString()});
 
                 return true;



More information about the distro-pkg-dev mailing list