New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8294357: (tz) Update Timezone Data to 2022d #10460
Conversation
|
/issue JDK-8294357 |
@satoyoshiki The primary solved issue for a PR is set through the PR title. Since the current title does not contain an issue reference, it will now be updated. |
@satoyoshiki The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments
// "last", it works for now. From tzdata2020d this hacking | ||
// will not work for Asia/Gaza and Asia/Hebron which follow | ||
// Palestine DST rules. | ||
if (dom < 0 || dom >= 24 && | ||
!(zoneId.equals("Asia/Gaza") || | ||
zoneId.equals("Asia/Hebron"))) { | ||
// No need of hacking for Plaestine DST rules from tz2022d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this comment be removed, or at least modified to be better explained?
zid.equals("Asia/Gaza") || | ||
zid.equals("Asia/Hebron") || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be helpful to append // uses "Palestine" rule
.
Europe/Uzhgorod EET EEST | ||
Europe/Vienna CET CEST | ||
Europe/Vilnius EET EEST | ||
Europe/Warsaw CET CEST | ||
Europe/Zaporozhye EET EEST |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to remove those newly linked zone ids from testing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is not maintained by hand but generated from java/util/TimeZone/TimeZoneData/tools/share/Makefile.
These two Ukraine zones are integrated to Europe/Kyiv and removed from tzdata/europe, so the entries disappeared in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. It's a bit odd that the links are removed for the test because they still exist as zone ids, and should have the same name as Europe/Kyiv
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@satoyoshiki This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 58 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@naotoj, @coffeys) but any other Committer may sponsor as well.
|
/integrate |
@satoyoshiki |
/sponsor |
Going to push as commit f015733.
Your commit was automatically rebased without conflicts. |
@naotoj @satoyoshiki Pushed as commit f015733. |
Please review this PR. The change include some code changes in ZoneInfoFile.java and TestZoneInfo310.java since tzdata2022d breaks TestZoneInfo310.java.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/10460/head:pull/10460
$ git checkout pull/10460
Update a local copy of the PR:
$ git checkout pull/10460
$ git pull https://git.openjdk.org/jdk pull/10460/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 10460
View PR using the GUI difftool:
$ git pr show -t 10460
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/10460.diff