[ 
https://issues.apache.org/jira/browse/COMPRESS-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary D. Gregory resolved COMPRESS-695.
--------------------------------------
    Resolution: Fixed

> Ability to use different InputStreams for Zstd
> ----------------------------------------------
>
>                 Key: COMPRESS-695
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-695
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Compressors
>    Affects Versions: 1.28.0
>            Reporter: Mehmet Karaman
>            Priority: Critical
>             Fix For: 1.28.0
>
>
> Hello,
> the current supported Zstd compressor is using JNI which could cause problems 
> with the JVM (this library is also marked as optional). There is another ZSTD 
> compression library which uses 'unsafe' memory access, which is not much 
> better than the current solution, but it could be decided by the clients 
> which one to use (more flexibility). 
> The solution would be easy as extracting the instantiation and expose this 
> method as protected. I've done the changes and I would be happy to share 
> this. I am going to push it  and create a PR. 
> Best regards
> Mehmet



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to