Thank you for taking the time to report this bug and helping to make Ubuntu better.
The changes come from the update to tzdata2019c [1] which was done at a later time in OpenJDK 11 - in fact the newer OpenJDK 11.0.6 reports the same results as OpenJDK 8u232. OpenJDK 11.0.6 is available in focal-proposed as of now and will available in supported Ubuntu releases soon.
The announcement for tzdata2019c [2] does state that past timestamps for Turkey changed and the OpenJDK commit [1] has the references to the changes.
To check if OpenJDK itself was somehow incorrectly interpreting the data I also run the following using 'date' which uses the system's timezone data (also sourced from tzdata2019c). Results matches the OpenJDK output:
$ date --date='TZ="Europe/Istanbul" 1943-01-01 12:01:01' '+%s'
-852044339
Please note that date is limited to 'seconds' precision for the epoch.
If that is somehow wrong, it should be brought to the attention of the maintainers of tzdata through the <email address hidden> mailing list as stated in [3].
Thank you for taking the time to report this bug and helping to make Ubuntu better.
The changes come from the update to tzdata2019c [1] which was done at a later time in OpenJDK 11 - in fact the newer OpenJDK 11.0.6 reports the same results as OpenJDK 8u232. OpenJDK 11.0.6 is available in focal-proposed as of now and will available in supported Ubuntu releases soon.
The announcement for tzdata2019c [2] does state that past timestamps for Turkey changed and the OpenJDK commit [1] has the references to the changes.
To check if OpenJDK itself was somehow incorrectly interpreting the data I also run the following using 'date' which uses the system's timezone data (also sourced from tzdata2019c). Results matches the OpenJDK output:
$ date --date= 'TZ="Europe/ Istanbul" 1943-01-01 12:01:01' '+%s'
-852044339
Please note that date is limited to 'seconds' precision for the epoch.
If that is somehow wrong, it should be brought to the attention of the maintainers of tzdata through the <email address hidden> mailing list as stated in [3].
I'm closing this bug now.
References: /hg.openjdk. java.net/ jdk8u/jdk8u- dev/jdk/ rev/8560bc53408 0#l4.130 /mm.icann. org/pipermail/ tz-announce/ 2019-September/ 000057. html /www.iana. org/time- zones
[1] https:/
[2] https:/
[3] https:/