[RFC][IcedTea-Web]: Fix for PR464

Andrew Su asu at redhat.com
Tue Jun 7 17:02:06 PDT 2011


This patch is to allow plugin to run sites that use jnlp_href to specify parameters for applets through a jnlp file.

Reported in PR464: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=464


2011-06-07  Andrew Su  <asu at redhat.com>

        * NEWS: Updated.
        * netx/net/sourceforge/jnlp/JNLPFile.java:
        (JNLPFile): Calls new constructor.
        (JNLPFile): New constructor to take an option for forcing a codebase.
        (JNLPFile): Call parse with extra parameter.
        (parse): Use the given codebase passed in if we did not find one.
        * netx/net/sourceforge/jnlp/Parser.java:
        (Parser): Calls new constructor.
        (Parser): New constructor which takes in a codebase as a last option.
        * netx/net/sourceforge/jnlp/PluginBridge.java:
        (jars): Changed to use HashSet instead of String[].
        (PluginBridge): Calls new JNLPFile's constructor with current
        codebase, and adds any jars specified in the JNLP file.
        (getResources): Updated to work with HashSet of jars.

For the change in NEWS, wasn't sure which category to put it under.. (placed it under netx).
Ok for HEAD?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr464.patch
Type: text/x-patch
Size: 9113 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110607/fd981b12/pr464.patch 

More information about the distro-pkg-dev mailing list