diff options
author | Jiri Vanek <[email protected]> | 2013-11-27 14:11:13 +0100 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-11-27 14:11:13 +0100 |
commit | 59233334144dca83fb017795d54d99636cccee81 (patch) | |
tree | a28c68f6af5745527ecd66e3620a440764ca2115 /ChangeLog | |
parent | b8da03fd7a7aac183acebf7ccd26196ccafca9bc (diff) |
Added null check when getting manifest attributes for case of jar without manifest
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getManifestAttribute) added check fo null manifest to prevent npe.
* /tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java: added test for npe from getManifestAttribute
* tests/test-extensions/net/sourceforge/jnlp/util/FileTestUtils.java: (createJarWithContents) enhanced to be able to create jar without manifest.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2013-11-26 Jiri Vanek <[email protected]> + + * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getManifestAttribute) + added check for null manifest to prevent npe. + * /tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java: + added test for npe from getManifestAttribute + * tests/test-extensions/net/sourceforge/jnlp/util/FileTestUtils.java: + (createJarWithContents) enhanced to be able to create jar without manifest. + 2013-11-25 Jiri Vanek <[email protected]> * netx/net/sourceforge/jnlp/JNLPFile.java: (TITLE_NOT_FOUND) new constant |