jruby/jruby — pull request #263 by terabyte (2012-08-17 00:15:20+00:00)
Title: Fix JRUBY-6024: Platform.getPackageName() NPE when embedded

NOTE: I have fixed this issue based upon the 1.6.7.2 tag and I think it will apply cleanly to the 1.6.7 series, but a change has happened since to 1.7.0 which conflicts with mine. I will submit a pull request for 1.7.0 as well once I confirm the bug still affects it.

Thanks!
-Carl

====
When jruby-complete.jar is packaged inside other jars, jnr-constants
sometimes throws NPEs. I applied a fix to constantine and rebuilt it
here. A pull request has also been submitted to jnr-constants to fix
the issue.

Pull Request:
https://github.com/jnr/jnr-constants/pull/2

Detail Threads:
http://www.ruby-forum.com/topic/211334
http://www.ruby-forum.com/topic/2321320
https://github.com/jnr/jnr-constants/issues/1