Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 Fix for erronous loading of manifest entries

open
nobody
None
5
2013-02-22
2013-02-22
squiddle
No

The JarClassLoader checks for information about packages by using the package name (net.example…) instead of the package path (net/example…) as i do not know if the current behavior is correct (i think it is not) the patch works as a fallback.

This problem came up when using sealed jars which excluded some packages from the seal. This information was not picked up correctly from the JarClassLoader so it refused to load the class/package. To be specific this was done with the openoffice Java SDK jars which are partly sealed and share packages over multiple jars.

The patch is against the 0_9_8_RC_2 tag

Discussion

  • squiddle
    squiddle
    2013-02-22

    patch for JarClassLoader.java to read entry information correctly from the manifest

     
  • P. Simon Tuffs
    P. Simon Tuffs
    2013-02-23

    thanks for this submission, I'll check it out and integrate it into the repo when I get chance.

    Appreciate the contribution.

    Simon.