Re: ZIP entry copy without recompression

2023-03-10 Thread Lance Andersen
Morning Eirik, Thank you Sean for creating the CR. As of this week, Eirik has author status so he can now create JBS issues 😊 I believe Jai is going to follow up with you has he started down a similar path earlier this week looking into a jarsigner issue. So please coordinate to avoid duplica

Re: ZIP entry copy without recompression

2023-03-10 Thread Seán Coffey
I think that's a fine idea Eirik. Definitely has its use cases like you mention. Some jarsigner operations would also benefit from this. I've created https://bugs.openjdk.org/browse/JDK-8303960 to track it. regards, Sean. On 31/01/2023 23:41, Lance Andersen wrote: I have not add a chance to

Re: ZIP entry copy without recompression

2023-01-31 Thread Lance Andersen
I have not add a chance to look or think about this yet but wanted to know I will On Jan 19, 2023, at 2:03 PM, Eirik Bjørsnøs mailto:eir...@gmail.com>> wrote: Hi, A common use case for java.util.zip in build tools involves copying entries from a ZipFile or ZipInputStream to a ZipOutputStream w

ZIP entry copy without recompression

2023-01-19 Thread Eirik Bjørsnøs
Hi, A common use case for java.util.zip in build tools involves copying entries from a ZipFile or ZipInputStream to a ZipOutputStream without actually modifying the data. Example use cases include minification (make a JAR with only the reachable classes) and merging (combine several JAR files int