Today iana released timezone db update for 2020b version. Java's tzupdater tool (2.3.1) from oracle fails to patch OpenJDK8u265.
$ java -jar tzupdater.jar -v -u -f -l file:tzdata-latest.tar.gz
Using file:tzdata-latest.tar.gz as source for tzdata bundle.
java.home: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
java.vendor: AdoptOpenJDK
java.version: 1.8.0_265
tzupdater version 2.3.1-b02
JRE tzdata version: tzdata2020a
Downloaded file to /var/folders/k4/d4wwf5sd71b0hnp7lvrv1wk40000gn/T/tz.tmp_6/tzdata.tar.gz
tzupdater tool would update with tzdata version: tzdata2020b
Source directory does not contain source file: pacificnew
$ echo $?
1
with 2020c update
tzupdater tool would update with tzdata version: tzdata2020c
Source directory does not contain source file: africa
Update
This was recognized as a bug by Oracle https://bugs.openjdk.java.net/browse/JDK-8255747 and it is fixed as part of tzupdater release 2.3.2 - still waiting for the release to be published.
We had the same issue, we used to use the https://www.iana.org/time-zones/repository/tzdata-latest.tar.gz URL and they apparently deployed a new version recently.
Quick fix: Try to use the previous version: https://data.iana.org/time-zones/releases/tzdata2020a.tar.gz :)
This issue is fixed with tzupdater at version 2.3.2 as part of JDK-8254226
A workaround if you need the updates is to take the file pacificnew from the tarfile tzdata2020a.tar.gz and add it to the tar file you want to use.
Update Timezone Updater 2.3.2 was released today
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With