[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:13:24 EDT 2014


     [ https://issues.jboss.org/browse/DROOLS-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edson Tirelli resolved DROOLS-530.
----------------------------------

      Assignee: Edson Tirelli  (was: Mark Proctor)
    Resolution: Done


Fixed.

> 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: Edson Tirelli
>              Labels: backport-to-6.0.x
>             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