spring-boot/spring-boot-project/spring-boot-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
..
spring-boot-antlib Remove references to https://repo.spring.io/release 2023-01-11 17:03:45 +00:00
spring-boot-autoconfigure-processor Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-buildpack-platform Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-configuration-metadata Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-configuration-processor Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-gradle-plugin Apply plugins consistently in Gradle documentation examples 2023-02-27 13:26:05 +00:00
spring-boot-gradle-test-support Test Gradle plugin against Gradle 6.9.4 2023-02-24 10:36:08 +00:00
spring-boot-jarmode-layertools Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-loader Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-loader-tools Ignore system timezone when applying outputTimestamp to entries 2023-03-01 21:27:08 -08:00
spring-boot-maven-plugin Ignore system timezone when applying outputTimestamp to entries 2023-03-01 21:27:08 -08:00
spring-boot-test-support Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00