[ 
http://jira.codehaus.org/browse/MASSEMBLY-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149302#action_149302
 ] 

John Casey commented on MASSEMBLY-249:
--------------------------------------

When I run this example, it doesn't crash. Instead, when I try to examine the 
resulting zip file, I get the following:

{noformat}
Betelgeuse:example jdcasey$ jar tf target/test-1.0.zip 
test-1.0/
java.lang.IllegalArgumentException
        at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:290)
        at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:243)
        at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
        at sun.tools.jar.Main.list(Main.java:757)
        at sun.tools.jar.Main.run(Main.java:192)
        at sun.tools.jar.Main.main(Main.java:925)
{noformat}

> Crashing file name that is using special chars
> ----------------------------------------------
>
>                 Key: MASSEMBLY-249
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-249
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: Endrigo Antonini
>         Attachments: example.rar
>
>
> I was using this plugin to zip. But when I have a file name that uses special 
> chars, like "รง", it crashs when zipping.
> Attached is an example of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to