[icedtea-web] RFC: check for nulls in JNLPPolicy.isSystemJar

Omair Majid omajid at redhat.com
Tue Mar 1 13:39:25 PST 2011


Hi,

The attached patch adds a null check in JNLPPolicy.isSystemJar. It's 
needed as PluginAppletSecurityContext.getAccessControlContext creates 
CodeSources with null locations.

ChangeLog:
2011-03-01  Omair Majid  <omajid at redhat.com>

     * netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java (isSystemJar):
     Check for nulls.

Okay to commit?

Cheers,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: null-code-source-in-jnlppolicy.patch
Type: text/x-patch
Size: 669 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110301/d18fc993/null-code-source-in-jnlppolicy.patch 


More information about the distro-pkg-dev mailing list