[jboss-jira] [JBoss JIRA] (DROOLS-530) MemoryFileSystem generates invalid jar file on writeJarEntries() method

Edson Tirelli (JIRA) issues at jboss.org
Wed Jun 18 19:09:24 EDT 2014


Edson Tirelli created DROOLS-530:
------------------------------------

             Summary: MemoryFileSystem generates invalid jar file on writeJarEntries() method
                 Key: DROOLS-530
                 URL: https://issues.jboss.org/browse/DROOLS-530
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 6.1.0.CR1
            Reporter: Edson Tirelli
            Assignee: Mark Proctor
             Fix For: 6.1.0.Final


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




--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list