diff options
author | Jiri Vanek <[email protected]> | 2013-04-26 11:29:04 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-04-26 11:29:04 +0200 |
commit | 3601afa5b8b1083c4e89b954d91fd4d2b3ba654f (patch) | |
tree | 74b0b5d34717abe498273f4717e1630d5751eb2c /netx/net/sourceforge/jnlp/SecurityDesc.java | |
parent | 6d5754626525233d2bda2e388632f8b4476484c9 (diff) |
Fixed regressed unittest and "cause", Fixed compilation under jdk6, Silenced unittests
Diffstat (limited to 'netx/net/sourceforge/jnlp/SecurityDesc.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/SecurityDesc.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/SecurityDesc.java b/netx/net/sourceforge/jnlp/SecurityDesc.java index 927917a..51b58bb 100644 --- a/netx/net/sourceforge/jnlp/SecurityDesc.java +++ b/netx/net/sourceforge/jnlp/SecurityDesc.java @@ -149,6 +149,9 @@ public class SecurityDesc { * @param downloadHost the download host (can always connect to) */ public SecurityDesc(JNLPFile file, Object type, String downloadHost) { + if (file == null) { + throw new NullJnlpFileException(); + } this.file = file; this.type = type; this.downloadHost = downloadHost; |