[ https://issues.apache.org/jira/browse/COMPRESS-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540084#comment-13540084 ]
Stefan Bodewig commented on COMPRESS-200: ----------------------------------------- First of all sorry for the long hiatus, I won't promise any changes, but let's see. I've committed a unit test with svn revision 1426276 - http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java?r1=1426276&r2=1426275&pathrev=1426276 and it passes. I'll look into Christian's analysis more closely soonish - if we really are using the ByteBuffer the wrong way (quite possible), then this may also affect the zip package. Anyway, it would be good if we had a unit test that actually failed before I start "fixing" it. Unfortunately java.net is in a bad mood right now and I can't get to the thread refered to in the JIRA ticket over there - and I can't create an account in TrueZIP's JIRA right now either. > Round trip conversion with more than 66 US-ASCII characters fails when using > TarArchiveOutputStream.LONGFILE_GNU > ---------------------------------------------------------------------------------------------------------------- > > Key: COMPRESS-200 > URL: https://issues.apache.org/jira/browse/COMPRESS-200 > Project: Commons Compress > Issue Type: Bug > Components: Archivers > Affects Versions: 1.4.1 > Environment: Any > Reporter: Christian Schlichtherle > Fix For: 1.5 > > > When using TarArchiveOutputStream.LONGFILE_GNU with an entry name of more > than 66 US-ASCII characters, a round trip conversion (write the entry, then > read it back) fails because of several bugs in TarArchiveOutputStream and > TarArchiveInputStream. > This has been reported as an issue to TrueZIP, which is why you can find a > more detailed analysis here: http://java.net/jira/browse/TRUEZIP-286 . -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira