require throws a LoadError when Jar has a null Manifest
-------------------------------------------------------
Key: JRUBY-1229
URL: http://jira.codehaus.org/browse/JRUBY-1229
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.0.0
Environment: Mac OS X, jirb
Reporter: Cliff Moon
Attachments: aspectjrt-1.5.2.jar, null_manifest.patch, test.rb
Require throws a LoadError when trying to load aspectjrt-1.5.2.jar from the
maven repository. I investigated the root cause and for some reason
JarInputStream.getManifest was returning null for this Jar, causing an NPE.
The attached patch inserts a null check for Jars which return a null Manifest.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email