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

MemoryFileSystem generates invalid jar file on writeJarEntries() method

    XMLWordPrintable

Details

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

    Description

      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 '/'."

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: