Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-530

MemoryFileSystem generates invalid jar file on writeJarEntries() method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.1.0.Final
    • 6.1.0.CR1
    • None

      MemoryFileSystem.writeJarEntries() method is generating a jar file that fails when one tries to extract, because the folders are not properly generated.

      According to the ZipEntry javadoc, a folder name must end with a '/' character:

      "A directory entry is defined to be one whose name ends with a '/'."

              etirelli@redhat.com Edson Tirelli
              etirelli@redhat.com Edson Tirelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: