aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-03-22 14:27:12 +0100
committerJiri Vanek <[email protected]>2013-03-22 14:27:12 +0100
commit839a0ddf17ab9b88ca116ebfffd319080cc9001f (patch)
tree1d4a68eb652d7b54b9d80d87b7be7238b217d414 /netx/net/sourceforge
parent801416024f13b7a29fcf4b8977bc1d4b4818934b (diff)
UnsignedAppletActionStorageImpl: (isMatching) is now ignring archives if empty.
Diffstat (limited to 'netx/net/sourceforge')
-rw-r--r--netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java
index 7f71b50..ef5eada 100644
--- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java
+++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java
@@ -180,7 +180,11 @@ public class UnsignedAppletActionStorageImpl extends LockingReaderWriter impleme
result = result && codeBase.matches(unsignedAppletActionEntry.getCodeBase().getRegEx());
}
if (archives != null) {
- result = result && compareArchives(archives, unsignedAppletActionEntry.getArchives());
+ List<String> saved = unsignedAppletActionEntry.getArchives();
+ if (saved == null || saved.isEmpty()) {
+ return result;
+ }
+ result = result && compareArchives(archives, saved);
}
return result;
}