changeset 2072:7f9444e2228d

netx: fix browser command in BasicService.showDocument(URL) 2010-07-29 Omair Majid <omajid@redhat.com> * NEWS: Add this fix. * netx/net/sourceforge/jnlp/services/XBasicService.java (showDocument): Fix missing space in browser command.
author Omair Majid <omajid@redhat.com>
date Thu, 29 Jul 2010 17:31:43 -0400
parents bd5bfc5dcab5
children 846a4c007c96
files ChangeLog NEWS netx/net/sourceforge/jnlp/services/XBasicService.java
diffstat 3 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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-29  Omair Majid  <omajid@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@ubuntu.com>
 
 	* configure.ac: Bump version to 1.8.1.
--- 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.2 (XXXX-XX-XX):
+
+- NetX:
+  - Fix browser command in BasicService.showDocument(URL)
+
 New in release 1.8.1 (2010-07-28):
 
 - OpenJDK:
--- 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 @@
                 // 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;