[rfc][icedtea-web] jnlpruntime.config changed to singleton

Jiri Vanek jvanek at redhat.com
Mon Dec 16 10:04:49 PST 2013


this simple patch is changing behaviour of jnlpruntime.config to be real singleton independent on 
rest of config.

The patch is pretty stright forward, except :


+    private ConfigurationException loadingException = null;
+    public void setLoadingException(ConfigurationException ex) {
+        loadingException = ex;
+    }
+    public ConfigurationException getLoadingException() {
+        return loadingException;
+    }

and its usage:

         if (isApplication && getConfiguration().getLoadingException() != null) {

For head, I'm thinking to not exit here, and continue with default runtime, and visible 

Also this pathc is simple enough that I'm inclined to backport it to 1.4...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configChangedToSingleton.patch
Type: text/x-patch
Size: 5469 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20131216/109a2277/configChangedToSingleton.patch 

More information about the distro-pkg-dev mailing list