[icedtea-web] RFC: remove obsolete basedir, netxrc and other constants

Omair Majid omajid at redhat.com
Wed Nov 24 07:18:17 PST 2010


Hi,

The attached patch removes the obsolete constants defined in JNLPRuntime 
as well as methods to get and set the basedir and the netxrc files. The 
netxrc file and basedir are unsued; the ~/.icedtea/deployment.properties 
file is used instead. The constants are now accessed through 
DeploymentConfiguration.

This patch includes a forward port of the fix for CVE-2010-3860.

ChangeLog:
2010-11-24  Omair Majid  <omajid at redhat.com>

     * netx/net/sourceforge/jnlp/runtime/Boot.java: Remove basedir
     option. Add NETX_ABOUT_FILE.
     (run): Remove call to JNLPRuntime.setBaseDir.
     (getAboutFile): Use the constant in this file, not JNLPRuntime.
     (getBaseDir): Remove obsolete method.
     * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove
     baseDir, USER, HOME_DIR, NETXRC_FILE, NETX_DIR, SECURITY_DIR,
     CERTFICIATES_FILE, JAVA_HOME_DIR, NETX_ABOUT_FILE.
     (initialize): Do not set baseDir.
     (getBaseDir): Remove method.
     (setBaseDir): Likewise.
     (getDefaultBaseDir): Likewise.
     (getProperties): Likewise.
     * netx/net/sourceforge/jnlp/security/SecurityUtil.java
     (getTrustedCertsFilename): Delegate to
     KeyStores.getKeyStoreLocation.
     * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
     (PluginAppletSecurityContext): Remove call to obsolete method.


Any thoughts or comments?

Thanks,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-obsolete-basedir-01.patch
Type: text/x-patch
Size: 8877 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101124/5cd6db81/remove-obsolete-basedir-01.patch 


More information about the distro-pkg-dev mailing list