[
https://issues.apache.org/jira/browse/COMPRESS-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Bodewig resolved COMPRESS-520.
-------------------------------------
Resolution: Fixed
> Implement ZCompressorInputStreamTest without powermock
> ------------------------------------------------------
>
> Key: COMPRESS-520
> URL: https://issues.apache.org/jira/browse/COMPRESS-520
> Project: Commons Compress
> Issue Type: Improvement
> Affects Versions: 1.20
> Reporter: Robin Schimpf
> Priority: Trivial
> Fix For: 1.21
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The ZCompressorInputStreamTest uses powermock to mock an empty enumeration.
> This prevents the test to be run on Java 9+.
> The same behaviour can be achieved by using {{Collections.emptyEnumeration}}
> and therefore the powermock dependency for the tests dropped.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)