spring-boot/spring-boot-project/spring-boot-tools/spring-boot-loader-tools
Phillip Webb 998d59b7ac Ignore system timezone when applying outputTimestamp to entries
Update `JarWriter` so that entry times are set with the default TimeZone
offset removed. The Javadoc for `ZipEntry.setTime` states:

  The file entry is "encoded in standard `MS-DOS date and time format`.
  The default TimeZone is used to convert the epoch time to the MS-DOS
  data and time.

Removing the offset from our UTC time before calling `entry.setTime()`
ensures that we get consistent bytes in the zip file when the output
stream reapplies the offset during write.

Fixes gh-34424
2023-03-01 21:27:08 -08:00
..
src Ignore system timezone when applying outputTimestamp to entries 2023-03-01 21:27:08 -08:00
build.gradle Merge branch '2.6.x' into 2.7.x 2022-08-01 20:51:18 +01:00