Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#53 0.97-RC11 is unable to load signed jar

open-accepted
5
2010-09-23
2010-09-23
Anonymous
No

Ona-jar 0.97-RC11 is not able to load a signed/sealed jar.
The problem is that OneJarFile class implementation does not close the JarEntry (call to closeEntry () after a call to getNextJarEntry ()). If the CloseEntry is not achieved, the JarEntry did not set his references to his CodeSigners and Certificates.

Discussion

  • patch of the 0.97RC11OneJarFile class

     
    Attachments
  • P. Simon Tuffs
    P. Simon Tuffs
    2010-09-23

    • assigned_to: nobody --> simontuffs
    • status: open --> open-accepted
     
  • P. Simon Tuffs
    P. Simon Tuffs
    2010-09-23

    Ouch, this looks like a hole in my test suite. Do you have a simple test case that I could use to verify a fix? I think I will be able to reproduce this since I do have some tests for signed Jars, but this one seems to have slipped through.. Thanks for reporting it.

    Simon.