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

javalib ZipOutputStream does not have Java 8 get/setTime methods.

Open LeeTibbert opened this issue 1 year ago • 1 comments

javalib ZipOutputStream was implemented before its getTime() and setTime() methods were introduced in Java 8. This means that it does not write Entrys using the UT extension which gives unix-like last-access, created, and last-modified times. The third of those can be found as ms-dos time in the entry.

Lack of these times makes it hard for a putative jdk.zipfs file system to report them.

LeeTibbert avatar Feb 24 '24 16:02 LeeTibbert

Handy/essential reference: A description of the zip Extended Timestamp Extra Field and its contents.

LeeTibbert avatar Mar 07 '24 00:03 LeeTibbert