scala-native icon indicating copy to clipboard operation
scala-native copied to clipboard

javalib ZipFile & JarFile are missing stream() methods.

Open LeeTibbert opened this issue 1 year ago • 0 comments

Whilst pecking away at Issue #3453, Zip file system support, I tried to implement some examples from the web in Scala Native. I quickly discovered that the stream methods in java.util.zip.ZipFile and java.util.jar.JarFile never got implemented.

These are Java 8 additions, specified well after the Harmony code which was ported to Scala Native for those packages.

Guess now that I want to use them, it is time to implement them. Never knew about them before.

The hard part is that the streams are defined "in encounter order of reading the .zip/.jar file".

  • [x] ZipFile PR #3749
  • [ ] JarFile

LeeTibbert avatar Feb 12 '24 19:02 LeeTibbert