changeset 912:ffc228f3c71f

PluginBridge's (fileLocation) of JNLPFile is now properly set in constructor if not existing. Fixed rhbz#1072013
author Jiri Vanek <jvanek@redhat.com>
date Mon, 10 Mar 2014 15:05:42 +0100
parents bbf4cc4319da
children 2217cdd13ad6
files ChangeLog netx/net/sourceforge/jnlp/PluginBridge.java
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Mar 06 09:18:35 2014 -0500
+++ b/ChangeLog	Mon Mar 10 15:05:42 2014 +0100
@@ -1,3 +1,9 @@
+2014-03-10  Jiri Vanek  <jvanek@redhat.com>
+
+	Fixed rhbz#1072013
+	* netx/net/sourceforge/jnlp/PluginBridge.java: The (fileLocation) of
+	JNLPFile is now properly set in constructor if not existing.
+
 2014-03-06  Andrew Azores  <aazores@redhat.com>
 
 	* NEWS: added -version flag entry
--- a/netx/net/sourceforge/jnlp/PluginBridge.java	Thu Mar 06 09:18:35 2014 -0500
+++ b/netx/net/sourceforge/jnlp/PluginBridge.java	Mon Mar 10 15:05:42 2014 +0100
@@ -101,6 +101,9 @@
                 // value is a complete URL, it will replace codeBase's context.
                 ParserSettings defaultSettings = new ParserSettings();
                 URL jnlp = new URL(codeBase, params.getJNLPHref());
+                if (fileLocation == null){
+                    fileLocation = jnlp;
+                }
                 JNLPFile jnlpFile = null;
 
                 if (params.getJNLPEmbedded() != null) {