You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Andre Brait (Jira)" <ji...@apache.org> on 2022/03/11 00:11:00 UTC

[jira] [Comment Edited] (COMPRESS-604) 1.21 with java 8 compatibility issue error: cannot access SeekableByteChannel ZipArchiveOutputStream zipOutputStream = new ZipArchiveOutputStream(response.getOutputStream()); class file for java.nio.channels.SeekableByteChannel not found

    [ https://issues.apache.org/jira/browse/COMPRESS-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17504659#comment-17504659 ] 

Andre Brait edited comment on COMPRESS-604 at 3/11/22, 12:10 AM:
-----------------------------------------------------------------

I sent [https://github.com/apache/commons-compress/pull/252] which fixes Java 8 compatibility when built using Java 9+.

This bug seems odd, though. I've been using this on Java 8 with commons-compress 1.21 for a while now and I can't reproduce it.


was (Author: andrebrait):
I sent [https://github.com/apache/commons-compress/pull/252] which fixes Java 8 compatibility when built using Java 9+.

 

This bug seems odd, though. I've been using this on Java 8 with commons-compress 1.21 for a while now and I can't reproduce it.

>  1.21 with java 8 compatibility issue error: cannot access SeekableByteChannel ZipArchiveOutputStream zipOutputStream = new ZipArchiveOutputStream(response.getOutputStream()); class file for java.nio.channels.SeekableByteChannel not found
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-604
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-604
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.21
>            Reporter: Anupama Shinde
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> error: cannot access SeekableByteChannel
> ZipArchiveOutputStream zipOutputStream = new ZipArchiveOutputStream(response.getOutputStream());
> class file for java.nio.channels.SeekableByteChannel not found
>  
>  
> So origianl issue was [https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2021-36090]
> We are trying to upgrade to common-compress-1.21. But it seems it is not compatible with java 8



--
This message was sent by Atlassian Jira
(v8.20.1#820001)