In the current release 0.96 the methods
MainClass.getPackage().getImplementationTitle()
MainClass.getPackage().getImplementationVendor()
MainClass.getPackage().getImplementationVersion()
etc. do not return the information from main/main.jar correctly. Also all other jars loaded from lib do not correctly return the information contained in the jar file.
I have attached a patched version from com.simontuffs.onejar.JarClassLoader that at least sets/returns this information correctly.
While doing that patch, I also figured out, that the sealed attribute in the current definePackage method is not evaluated correctly. I changed this, in order, that no MalformedURLException is thrown anymore, as sealed is set to false in many jar files. Unfortunately, I think, the source URL is currently not always passed correctly as well and might need additinal review...
My patched JarClassLoader...
Thanks for this submission, I'll try to roll it into 0.97
Moving to Bugs tracker.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).