mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-20 08:19:41 +01:00
Compare commits
26 Commits
jdk-11.0.2
...
jdk-11.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8322c66efa | ||
|
|
7dab5fef87 | ||
|
|
52c8606db4 | ||
|
|
cde36426cf | ||
|
|
33d19c4b29 | ||
|
|
6a9eb07c20 | ||
|
|
46ef0f6d7d | ||
|
|
c67732a5cd | ||
|
|
ecff933d69 | ||
|
|
8db58a006f | ||
|
|
a2983ce702 | ||
|
|
86a1b523c5 | ||
|
|
be6956b156 | ||
|
|
4adb4598c3 | ||
|
|
e8db40e490 | ||
|
|
f53cbeaa14 | ||
|
|
62858d88f5 | ||
|
|
8b258638e7 | ||
|
|
7cee7d037e | ||
|
|
a47c72fad4 | ||
|
|
bf34fd4d41 | ||
|
|
3b7bcdbd10 | ||
|
|
50da3f663a | ||
|
|
1c80800a26 | ||
|
|
874b25e641 | ||
|
|
2155f8d22a |
3
.github/workflows/build-macos.yml
vendored
3
.github/workflows/build-macos.yml
vendored
@@ -55,7 +55,7 @@ on:
|
||||
jobs:
|
||||
build-macos:
|
||||
name: build
|
||||
runs-on: macos-12
|
||||
runs-on: macos-13
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -98,6 +98,7 @@ jobs:
|
||||
--with-jtreg=${{ steps.jtreg.outputs.path }}
|
||||
--enable-jtreg-failure-handler
|
||||
--with-zlib=system
|
||||
--disable-warnings-as-errors
|
||||
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
|
||||
echo "Dumping config.log:" &&
|
||||
cat config.log &&
|
||||
|
||||
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -223,7 +223,7 @@ jobs:
|
||||
uses: ./.github/workflows/build-macos.yml
|
||||
with:
|
||||
platform: macos-x64
|
||||
xcode-toolset-version: '13.4.1'
|
||||
xcode-toolset-version: '14.3.1'
|
||||
configure-arguments: ${{ github.event.inputs.configure-arguments }}
|
||||
make-arguments: ${{ github.event.inputs.make-arguments }}
|
||||
if: needs.select.outputs.macos-x64 == 'true'
|
||||
@@ -234,7 +234,7 @@ jobs:
|
||||
uses: ./.github/workflows/build-macos.yml
|
||||
with:
|
||||
platform: macos-aarch64
|
||||
xcode-toolset-version: '13.4.1'
|
||||
xcode-toolset-version: '14.3.1'
|
||||
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
|
||||
configure-arguments: ${{ github.event.inputs.configure-arguments }}
|
||||
make-arguments: ${{ github.event.inputs.make-arguments }}
|
||||
@@ -298,7 +298,7 @@ jobs:
|
||||
with:
|
||||
platform: macos-x64
|
||||
bootjdk-platform: macos-x64
|
||||
runs-on: macos-12
|
||||
runs-on: macos-13
|
||||
|
||||
test-windows-x64:
|
||||
name: windows-x64
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -127,7 +127,7 @@ jobs:
|
||||
run: |
|
||||
# On macOS we need to install some dependencies for testing
|
||||
brew install make
|
||||
sudo xcode-select --switch /Applications/Xcode_13.4.1.app/Contents/Developer
|
||||
sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
|
||||
# This will make GNU make available as 'make' and not only as 'gmake'
|
||||
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
|
||||
if: runner.os == 'macOS'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[general]
|
||||
project=jdk-updates
|
||||
jbs=JDK
|
||||
version=11.0.26
|
||||
version=11.0.27
|
||||
|
||||
[checks]
|
||||
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
# Welcome to the JDK!
|
||||
# Welcome to OpenJDK 11 Updates!
|
||||
|
||||
The JDK 11 Updates project uses two GitHub repositories.
|
||||
Updates are continuously developed in the repository [jdk11u-dev](https://github.com/openjdk/jdk11u-dev). This is the repository usually targeted by contributors.
|
||||
The [jdk11u](https://github.com/openjdk/jdk11u) repository is used for rampdown of the update releases of jdk11u and only accepts critical changes that must make the next release during rampdown. (You probably do not want to target jdk11u).
|
||||
|
||||
For more OpenJDK 11 updates specific information such as timelines and contribution guidelines see the [project wiki page](https://wiki.openjdk.org/display/JDKUpdates/JDK11u).
|
||||
|
||||
|
||||
For build instructions please see the
|
||||
[online documentation](https://openjdk.java.net/groups/build/doc/building.html),
|
||||
|
||||
@@ -28,12 +28,12 @@
|
||||
|
||||
DEFAULT_VERSION_FEATURE=11
|
||||
DEFAULT_VERSION_INTERIM=0
|
||||
DEFAULT_VERSION_UPDATE=26
|
||||
DEFAULT_VERSION_UPDATE=27
|
||||
DEFAULT_VERSION_PATCH=0
|
||||
DEFAULT_VERSION_EXTRA1=0
|
||||
DEFAULT_VERSION_EXTRA2=0
|
||||
DEFAULT_VERSION_EXTRA3=0
|
||||
DEFAULT_VERSION_DATE=2025-01-21
|
||||
DEFAULT_VERSION_DATE=2025-04-15
|
||||
DEFAULT_VERSION_CLASSFILE_MAJOR=55 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
|
||||
DEFAULT_VERSION_CLASSFILE_MINOR=0
|
||||
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
File-Date: 2024-06-14
|
||||
File-Date: 2024-11-19
|
||||
%%
|
||||
Type: language
|
||||
Subtag: aa
|
||||
@@ -47991,6 +47991,16 @@ Added: 2008-10-14
|
||||
Prefix: kw
|
||||
%%
|
||||
Type: variant
|
||||
Subtag: kleinsch
|
||||
Description: Kleinschmidt orthography
|
||||
Description: Allattaasitaamut
|
||||
Added: 2024-07-20
|
||||
Prefix: kl
|
||||
Prefix: kl-tunumiit
|
||||
Comments: Orthography for Greenlandic designed by Samuel Kleinschmidt,
|
||||
used from 1851 to 1973.
|
||||
%%
|
||||
Type: variant
|
||||
Subtag: kociewie
|
||||
Description: The Kociewie dialect of Polish
|
||||
Added: 2014-11-27
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
# or visit www.oracle.com if you need additional information or have any
|
||||
# questions.
|
||||
#
|
||||
tzdata2024a
|
||||
tzdata2024b
|
||||
|
||||
@@ -126,17 +126,16 @@ Zone Africa/Algiers 0:12:12 - LMT 1891 Mar 16
|
||||
|
||||
# Cape Verde / Cabo Verde
|
||||
#
|
||||
# From Paul Eggert (2018-02-16):
|
||||
# Shanks gives 1907 for the transition to +02.
|
||||
# For now, ignore that and follow the 1911-05-26 Portuguese decree
|
||||
# (see Europe/Lisbon).
|
||||
# From Tim Parenti (2024-07-01), per Paul Eggert (2018-02-16):
|
||||
# For timestamps before independence, see commentary for Europe/Lisbon.
|
||||
# Shanks gives 1907 instead for the transition to -02.
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Atlantic/Cape_Verde -1:34:04 - LMT 1912 Jan 01 2:00u # Praia
|
||||
-2:00 - -02 1942 Sep
|
||||
-2:00 1:00 -01 1945 Oct 15
|
||||
-2:00 - -02 1975 Nov 25 2:00
|
||||
-1:00 - -01
|
||||
-2:00 - %z 1942 Sep
|
||||
-2:00 1:00 %z 1945 Oct 15
|
||||
-2:00 - %z 1975 Nov 25 2:00
|
||||
-1:00 - %z
|
||||
|
||||
# Chad
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
@@ -368,14 +367,12 @@ Zone Africa/Cairo 2:05:09 - LMT 1900 Oct
|
||||
|
||||
# Guinea-Bissau
|
||||
#
|
||||
# From Paul Eggert (2018-02-16):
|
||||
# Shanks gives 1911-05-26 for the transition to WAT,
|
||||
# evidently confusing the date of the Portuguese decree
|
||||
# (see Europe/Lisbon) with the date that it took effect.
|
||||
# From Tim Parenti (2024-07-01), per Paul Eggert (2018-02-16):
|
||||
# For timestamps before independence, see commentary for Europe/Lisbon.
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Africa/Bissau -1:02:20 - LMT 1912 Jan 1 1:00u
|
||||
-1:00 - -01 1975
|
||||
-1:00 - %z 1975
|
||||
0:00 - GMT
|
||||
|
||||
# Comoros
|
||||
@@ -440,10 +437,10 @@ Zone Africa/Bissau -1:02:20 - LMT 1912 Jan 1 1:00u
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Africa/Nairobi 2:27:16 - LMT 1908 May
|
||||
2:30 - +0230 1928 Jun 30 24:00
|
||||
2:30 - %z 1928 Jun 30 24:00
|
||||
3:00 - EAT 1930 Jan 4 24:00
|
||||
2:30 - +0230 1936 Dec 31 24:00
|
||||
2:45 - +0245 1942 Jul 31 24:00
|
||||
2:30 - %z 1936 Dec 31 24:00
|
||||
2:45 - %z 1942 Jul 31 24:00
|
||||
3:00 - EAT
|
||||
|
||||
# Liberia
|
||||
@@ -614,7 +611,7 @@ Rule Mauritius 2008 only - Oct lastSun 2:00 1:00 -
|
||||
Rule Mauritius 2009 only - Mar lastSun 2:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
|
||||
4:00 Mauritius +04/+05
|
||||
4:00 Mauritius %z
|
||||
# Agalega Is, Rodriguez
|
||||
# no information; probably like Indian/Mauritius
|
||||
|
||||
@@ -1094,10 +1091,10 @@ Rule Morocco 2087 only - May 11 2:00 0 -
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
|
||||
0:00 Morocco +00/+01 1984 Mar 16
|
||||
1:00 - +01 1986
|
||||
0:00 Morocco +00/+01 2018 Oct 28 3:00
|
||||
1:00 Morocco +01/+00
|
||||
0:00 Morocco %z 1984 Mar 16
|
||||
1:00 - %z 1986
|
||||
0:00 Morocco %z 2018 Oct 28 3:00
|
||||
1:00 Morocco %z
|
||||
|
||||
# Western Sahara
|
||||
#
|
||||
@@ -1111,9 +1108,9 @@ Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
|
||||
# since most of it was then controlled by Morocco.
|
||||
|
||||
Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan # El Aaiún
|
||||
-1:00 - -01 1976 Apr 14
|
||||
0:00 Morocco +00/+01 2018 Oct 28 3:00
|
||||
1:00 Morocco +01/+00
|
||||
-1:00 - %z 1976 Apr 14
|
||||
0:00 Morocco %z 2018 Oct 28 3:00
|
||||
1:00 Morocco %z
|
||||
|
||||
# Botswana
|
||||
# Burundi
|
||||
@@ -1124,13 +1121,27 @@ Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan # El Aaiún
|
||||
# Zambia
|
||||
# Zimbabwe
|
||||
#
|
||||
# Shanks gives 1903-03-01 for the transition to CAT.
|
||||
# Perhaps the 1911-05-26 Portuguese decree
|
||||
# https://dre.pt/pdf1sdip/1911/05/12500/23132313.pdf
|
||||
# merely made it official?
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# For timestamps before Mozambique's independence, see commentary for
|
||||
# Europe/Lisbon.
|
||||
#
|
||||
# From Paul Eggert (2024-05-24):
|
||||
# The London Gazette, 1903-04-03, page 2245, says that
|
||||
# as of 1903-03-03 a time ball at the port of Lourenço Marques
|
||||
# (as Maputo was then called) was dropped daily at 13:00:00 LMT,
|
||||
# corresponding to 22:49:41.7 GMT, so local time was +02:10:18.3.
|
||||
# Conversely, the newspaper South Africa, 1909-02-09, page 321,
|
||||
# says the port had just installed an apparatus that communicated
|
||||
# "from the controlling clock in the new Observatory at Reuben Point ...
|
||||
# exact mean South African time, i.e., 30 deg., or 2 hours East of Greenwich".
|
||||
# Although Shanks gives 1903-03-01 for the transition to CAT,
|
||||
# evidently the port transitioned to CAT after 1903-03-03 but before
|
||||
# the Portuguese legal transition of 1912-01-01 (see Europe/Lisbon commentary).
|
||||
# For lack of better info, list 1909 as the transition date.
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Africa/Maputo 2:10:20 - LMT 1903 Mar
|
||||
#STDOFF 2:10:18.3
|
||||
Zone Africa/Maputo 2:10:18 - LMT 1909
|
||||
2:00 - CAT
|
||||
|
||||
# Namibia
|
||||
@@ -1195,7 +1206,7 @@ Rule Namibia 1995 2017 - Apr Sun>=1 2:00 -1:00 WAT
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8
|
||||
1:30 - +0130 1903 Mar
|
||||
1:30 - %z 1903 Mar
|
||||
2:00 - SAST 1942 Sep 20 2:00
|
||||
2:00 1:00 SAST 1943 Mar 21 2:00
|
||||
2:00 - SAST 1990 Mar 21 # independence
|
||||
@@ -1283,7 +1294,7 @@ Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8
|
||||
Zone Africa/Lagos 0:13:35 - LMT 1905 Jul 1
|
||||
0:00 - GMT 1908 Jul 1
|
||||
0:13:35 - LMT 1914 Jan 1
|
||||
0:30 - +0030 1919 Sep 1
|
||||
0:30 - %z 1919 Sep 1
|
||||
1:00 - WAT
|
||||
|
||||
# São Tomé and Príncipe
|
||||
|
||||
@@ -110,34 +110,34 @@
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Antarctica/Casey 0 - -00 1969
|
||||
8:00 - +08 2009 Oct 18 2:00
|
||||
11:00 - +11 2010 Mar 5 2:00
|
||||
8:00 - +08 2011 Oct 28 2:00
|
||||
11:00 - +11 2012 Feb 21 17:00u
|
||||
8:00 - +08 2016 Oct 22
|
||||
11:00 - +11 2018 Mar 11 4:00
|
||||
8:00 - +08 2018 Oct 7 4:00
|
||||
11:00 - +11 2019 Mar 17 3:00
|
||||
8:00 - +08 2019 Oct 4 3:00
|
||||
11:00 - +11 2020 Mar 8 3:00
|
||||
8:00 - +08 2020 Oct 4 0:01
|
||||
11:00 - +11 2021 Mar 14 0:00
|
||||
8:00 - +08 2021 Oct 3 0:01
|
||||
11:00 - +11 2022 Mar 13 0:00
|
||||
8:00 - +08 2022 Oct 2 0:01
|
||||
11:00 - +11 2023 Mar 9 3:00
|
||||
8:00 - +08
|
||||
8:00 - %z 2009 Oct 18 2:00
|
||||
11:00 - %z 2010 Mar 5 2:00
|
||||
8:00 - %z 2011 Oct 28 2:00
|
||||
11:00 - %z 2012 Feb 21 17:00u
|
||||
8:00 - %z 2016 Oct 22
|
||||
11:00 - %z 2018 Mar 11 4:00
|
||||
8:00 - %z 2018 Oct 7 4:00
|
||||
11:00 - %z 2019 Mar 17 3:00
|
||||
8:00 - %z 2019 Oct 4 3:00
|
||||
11:00 - %z 2020 Mar 8 3:00
|
||||
8:00 - %z 2020 Oct 4 0:01
|
||||
11:00 - %z 2021 Mar 14 0:00
|
||||
8:00 - %z 2021 Oct 3 0:01
|
||||
11:00 - %z 2022 Mar 13 0:00
|
||||
8:00 - %z 2022 Oct 2 0:01
|
||||
11:00 - %z 2023 Mar 9 3:00
|
||||
8:00 - %z
|
||||
Zone Antarctica/Davis 0 - -00 1957 Jan 13
|
||||
7:00 - +07 1964 Nov
|
||||
7:00 - %z 1964 Nov
|
||||
0 - -00 1969 Feb
|
||||
7:00 - +07 2009 Oct 18 2:00
|
||||
5:00 - +05 2010 Mar 10 20:00u
|
||||
7:00 - +07 2011 Oct 28 2:00
|
||||
5:00 - +05 2012 Feb 21 20:00u
|
||||
7:00 - +07
|
||||
7:00 - %z 2009 Oct 18 2:00
|
||||
5:00 - %z 2010 Mar 10 20:00u
|
||||
7:00 - %z 2011 Oct 28 2:00
|
||||
5:00 - %z 2012 Feb 21 20:00u
|
||||
7:00 - %z
|
||||
Zone Antarctica/Mawson 0 - -00 1954 Feb 13
|
||||
6:00 - +06 2009 Oct 18 2:00
|
||||
5:00 - +05
|
||||
6:00 - %z 2009 Oct 18 2:00
|
||||
5:00 - %z
|
||||
# References:
|
||||
# Casey Weather (1998-02-26)
|
||||
# http://www.antdiv.gov.au/aad/exop/sfo/casey/casey_aws.html
|
||||
@@ -313,10 +313,10 @@ Zone Antarctica/Troll 0 - -00 2005 Feb 12
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Antarctica/Vostok 0 - -00 1957 Dec 16
|
||||
7:00 - +07 1994 Feb
|
||||
7:00 - %z 1994 Feb
|
||||
0 - -00 1994 Nov
|
||||
7:00 - +07 2023 Dec 18 2:00
|
||||
5:00 - +05
|
||||
7:00 - %z 2023 Dec 18 2:00
|
||||
5:00 - %z
|
||||
|
||||
# S Africa - year-round bases
|
||||
# Marion Island, -4653+03752
|
||||
@@ -349,7 +349,7 @@ Zone Antarctica/Vostok 0 - -00 1957 Dec 16
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Antarctica/Rothera 0 - -00 1976 Dec 1
|
||||
-3:00 - -03
|
||||
-3:00 - %z
|
||||
|
||||
# Uruguay - year round base
|
||||
# Artigas, King George Island, -621104-0585107
|
||||
|
||||
@@ -106,8 +106,8 @@ Rule RussiaAsia 1996 2010 - Oct lastSun 2:00s 0 -
|
||||
# Afghanistan
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Kabul 4:36:48 - LMT 1890
|
||||
4:00 - +04 1945
|
||||
4:30 - +0430
|
||||
4:00 - %z 1945
|
||||
4:30 - %z
|
||||
|
||||
# Armenia
|
||||
# From Paul Eggert (2006-03-22):
|
||||
@@ -139,12 +139,12 @@ Rule Armenia 2011 only - Mar lastSun 2:00s 1:00 -
|
||||
Rule Armenia 2011 only - Oct lastSun 2:00s 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Yerevan 2:58:00 - LMT 1924 May 2
|
||||
3:00 - +03 1957 Mar
|
||||
4:00 RussiaAsia +04/+05 1991 Mar 31 2:00s
|
||||
3:00 RussiaAsia +03/+04 1995 Sep 24 2:00s
|
||||
4:00 - +04 1997
|
||||
4:00 RussiaAsia +04/+05 2011
|
||||
4:00 Armenia +04/+05
|
||||
3:00 - %z 1957 Mar
|
||||
4:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
3:00 RussiaAsia %z 1995 Sep 24 2:00s
|
||||
4:00 - %z 1997
|
||||
4:00 RussiaAsia %z 2011
|
||||
4:00 Armenia %z
|
||||
|
||||
# Azerbaijan
|
||||
|
||||
@@ -165,12 +165,12 @@ Rule Azer 1997 2015 - Mar lastSun 4:00 1:00 -
|
||||
Rule Azer 1997 2015 - Oct lastSun 5:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Baku 3:19:24 - LMT 1924 May 2
|
||||
3:00 - +03 1957 Mar
|
||||
4:00 RussiaAsia +04/+05 1991 Mar 31 2:00s
|
||||
3:00 RussiaAsia +03/+04 1992 Sep lastSun 2:00s
|
||||
4:00 - +04 1996
|
||||
4:00 EUAsia +04/+05 1997
|
||||
4:00 Azer +04/+05
|
||||
3:00 - %z 1957 Mar
|
||||
4:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
3:00 RussiaAsia %z 1992 Sep lastSun 2:00s
|
||||
4:00 - %z 1996
|
||||
4:00 EUAsia %z 1997
|
||||
4:00 Azer %z
|
||||
|
||||
# Bangladesh
|
||||
# From Alexander Krivenyshev (2009-05-13):
|
||||
@@ -251,17 +251,17 @@ Rule Dhaka 2009 only - Dec 31 24:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Dhaka 6:01:40 - LMT 1890
|
||||
5:53:20 - HMT 1941 Oct # Howrah Mean Time?
|
||||
6:30 - +0630 1942 May 15
|
||||
5:30 - +0530 1942 Sep
|
||||
6:30 - +0630 1951 Sep 30
|
||||
6:00 - +06 2009
|
||||
6:00 Dhaka +06/+07
|
||||
6:30 - %z 1942 May 15
|
||||
5:30 - %z 1942 Sep
|
||||
6:30 - %z 1951 Sep 30
|
||||
6:00 - %z 2009
|
||||
6:00 Dhaka %z
|
||||
|
||||
# Bhutan
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Thimphu 5:58:36 - LMT 1947 Aug 15 # or Thimbu
|
||||
5:30 - +0530 1987 Oct
|
||||
6:00 - +06
|
||||
5:30 - %z 1987 Oct
|
||||
6:00 - %z
|
||||
|
||||
# British Indian Ocean Territory
|
||||
# Whitman and the 1995 CIA time zone map say 5:00, but the
|
||||
@@ -271,8 +271,8 @@ Zone Asia/Thimphu 5:58:36 - LMT 1947 Aug 15 # or Thimbu
|
||||
# then contained the Chagos Archipelago).
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Indian/Chagos 4:49:40 - LMT 1907
|
||||
5:00 - +05 1996
|
||||
6:00 - +06
|
||||
5:00 - %z 1996
|
||||
6:00 - %z
|
||||
|
||||
# Cocos (Keeling) Islands
|
||||
# Myanmar (Burma)
|
||||
@@ -288,9 +288,9 @@ Zone Indian/Chagos 4:49:40 - LMT 1907
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Yangon 6:24:47 - LMT 1880 # or Rangoon
|
||||
6:24:47 - RMT 1920 # Rangoon local time
|
||||
6:30 - +0630 1942 May
|
||||
9:00 - +09 1945 May 3
|
||||
6:30 - +0630
|
||||
6:30 - %z 1942 May
|
||||
9:00 - %z 1945 May 3
|
||||
6:30 - %z
|
||||
|
||||
# China
|
||||
|
||||
@@ -679,7 +679,7 @@ Zone Asia/Shanghai 8:05:43 - LMT 1901
|
||||
# Xinjiang time, used by many in western China; represented by Ürümqi / Ürümchi
|
||||
# / Wulumuqi. (Please use Asia/Shanghai if you prefer Beijing time.)
|
||||
Zone Asia/Urumqi 5:50:20 - LMT 1928
|
||||
6:00 - +06
|
||||
6:00 - %z
|
||||
|
||||
# Hong Kong
|
||||
|
||||
@@ -1137,7 +1137,7 @@ Rule Macau 1979 only - Oct Sun>=16 03:30 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Macau 7:34:10 - LMT 1904 Oct 30
|
||||
8:00 - CST 1941 Dec 21 23:00
|
||||
9:00 Macau +09/+10 1945 Sep 30 24:00
|
||||
9:00 Macau %z 1945 Sep 30 24:00
|
||||
8:00 Macau C%sT
|
||||
|
||||
|
||||
@@ -1180,7 +1180,7 @@ Zone Asia/Nicosia 2:13:28 - LMT 1921 Nov 14
|
||||
Zone Asia/Famagusta 2:15:48 - LMT 1921 Nov 14
|
||||
2:00 Cyprus EE%sT 1998 Sep
|
||||
2:00 EUAsia EE%sT 2016 Sep 8
|
||||
3:00 - +03 2017 Oct 29 1:00u
|
||||
3:00 - %z 2017 Oct 29 1:00u
|
||||
2:00 EUAsia EE%sT
|
||||
|
||||
# Georgia
|
||||
@@ -1221,18 +1221,25 @@ Zone Asia/Famagusta 2:15:48 - LMT 1921 Nov 14
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Tbilisi 2:59:11 - LMT 1880
|
||||
2:59:11 - TBMT 1924 May 2 # Tbilisi Mean Time
|
||||
3:00 - +03 1957 Mar
|
||||
4:00 RussiaAsia +04/+05 1991 Mar 31 2:00s
|
||||
3:00 RussiaAsia +03/+04 1992
|
||||
3:00 E-EurAsia +03/+04 1994 Sep lastSun
|
||||
4:00 E-EurAsia +04/+05 1996 Oct lastSun
|
||||
4:00 1:00 +05 1997 Mar lastSun
|
||||
4:00 E-EurAsia +04/+05 2004 Jun 27
|
||||
3:00 RussiaAsia +03/+04 2005 Mar lastSun 2:00
|
||||
4:00 - +04
|
||||
3:00 - %z 1957 Mar
|
||||
4:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
3:00 RussiaAsia %z 1992
|
||||
3:00 E-EurAsia %z 1994 Sep lastSun
|
||||
4:00 E-EurAsia %z 1996 Oct lastSun
|
||||
4:00 1:00 %z 1997 Mar lastSun
|
||||
4:00 E-EurAsia %z 2004 Jun 27
|
||||
3:00 RussiaAsia %z 2005 Mar lastSun 2:00
|
||||
4:00 - %z
|
||||
|
||||
# East Timor
|
||||
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# The 1912-01-01 transition occurred at 00:00 new time, per the 1911-05-24
|
||||
# Portuguese decree (see Europe/Lisbon). A provision in article 5(c) of the
|
||||
# decree prescribed that Timor "will keep counting time in harmony with
|
||||
# neighboring foreign colonies, [for] as long as they do not adopt the time
|
||||
# that belongs to them in [the Washington Convention] system."
|
||||
|
||||
# See Indonesia for the 1945 transition.
|
||||
|
||||
# From João Carrascalão, brother of the former governor of East Timor, in
|
||||
@@ -1256,11 +1263,11 @@ Zone Asia/Tbilisi 2:59:11 - LMT 1880
|
||||
# midnight on Saturday, September 16.
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Dili 8:22:20 - LMT 1912 Jan 1
|
||||
8:00 - +08 1942 Feb 21 23:00
|
||||
9:00 - +09 1976 May 3
|
||||
8:00 - +08 2000 Sep 17 0:00
|
||||
9:00 - +09
|
||||
Zone Asia/Dili 8:22:20 - LMT 1911 Dec 31 16:00u
|
||||
8:00 - %z 1942 Feb 21 23:00
|
||||
9:00 - %z 1976 May 3
|
||||
8:00 - %z 2000 Sep 17 0:00
|
||||
9:00 - %z
|
||||
|
||||
# India
|
||||
|
||||
@@ -1326,9 +1333,9 @@ Zone Asia/Kolkata 5:53:28 - LMT 1854 Jun 28 # Kolkata
|
||||
5:53:20 - HMT 1870 # Howrah Mean Time?
|
||||
5:21:10 - MMT 1906 Jan 1 # Madras local time
|
||||
5:30 - IST 1941 Oct
|
||||
5:30 1:00 +0630 1942 May 15
|
||||
5:30 1:00 %z 1942 May 15
|
||||
5:30 - IST 1942 Sep
|
||||
5:30 1:00 +0630 1945 Oct 15
|
||||
5:30 1:00 %z 1945 Oct 15
|
||||
5:30 - IST
|
||||
# Since 1970 the following are like Asia/Kolkata:
|
||||
# Andaman Is
|
||||
@@ -1380,33 +1387,33 @@ Zone Asia/Jakarta 7:07:12 - LMT 1867 Aug 10
|
||||
# Shanks & Pottenger say the next transition was at 1924 Jan 1 0:13,
|
||||
# but this must be a typo.
|
||||
7:07:12 - BMT 1923 Dec 31 16:40u # Batavia
|
||||
7:20 - +0720 1932 Nov
|
||||
7:30 - +0730 1942 Mar 23
|
||||
9:00 - +09 1945 Sep 23
|
||||
7:30 - +0730 1948 May
|
||||
8:00 - +08 1950 May
|
||||
7:30 - +0730 1964
|
||||
7:20 - %z 1932 Nov
|
||||
7:30 - %z 1942 Mar 23
|
||||
9:00 - %z 1945 Sep 23
|
||||
7:30 - %z 1948 May
|
||||
8:00 - %z 1950 May
|
||||
7:30 - %z 1964
|
||||
7:00 - WIB
|
||||
# west and central Borneo
|
||||
Zone Asia/Pontianak 7:17:20 - LMT 1908 May
|
||||
7:17:20 - PMT 1932 Nov # Pontianak MT
|
||||
7:30 - +0730 1942 Jan 29
|
||||
9:00 - +09 1945 Sep 23
|
||||
7:30 - +0730 1948 May
|
||||
8:00 - +08 1950 May
|
||||
7:30 - +0730 1964
|
||||
7:30 - %z 1942 Jan 29
|
||||
9:00 - %z 1945 Sep 23
|
||||
7:30 - %z 1948 May
|
||||
8:00 - %z 1950 May
|
||||
7:30 - %z 1964
|
||||
8:00 - WITA 1988 Jan 1
|
||||
7:00 - WIB
|
||||
# Sulawesi, Lesser Sundas, east and south Borneo
|
||||
Zone Asia/Makassar 7:57:36 - LMT 1920
|
||||
7:57:36 - MMT 1932 Nov # Macassar MT
|
||||
8:00 - +08 1942 Feb 9
|
||||
9:00 - +09 1945 Sep 23
|
||||
8:00 - %z 1942 Feb 9
|
||||
9:00 - %z 1945 Sep 23
|
||||
8:00 - WITA
|
||||
# Maluku Islands, West Papua, Papua
|
||||
Zone Asia/Jayapura 9:22:48 - LMT 1932 Nov
|
||||
9:00 - +09 1944 Sep 1
|
||||
9:30 - +0930 1964
|
||||
9:00 - %z 1944 Sep 1
|
||||
9:30 - %z 1964
|
||||
9:00 - WIT
|
||||
|
||||
# Iran
|
||||
@@ -1642,9 +1649,9 @@ Rule Iran 2021 2022 - Sep 21 24:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Tehran 3:25:44 - LMT 1916
|
||||
3:25:44 - TMT 1935 Jun 13 # Tehran Mean Time
|
||||
3:30 Iran +0330/+0430 1977 Oct 20 24:00
|
||||
4:00 Iran +04/+05 1979
|
||||
3:30 Iran +0330/+0430
|
||||
3:30 Iran %z 1977 Oct 20 24:00
|
||||
4:00 Iran %z 1979
|
||||
3:30 Iran %z
|
||||
|
||||
|
||||
# Iraq
|
||||
@@ -1687,8 +1694,8 @@ Rule Iraq 1991 2007 - Oct 1 3:00s 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Baghdad 2:57:40 - LMT 1890
|
||||
2:57:36 - BMT 1918 # Baghdad Mean Time?
|
||||
3:00 - +03 1982 May
|
||||
3:00 Iraq +03/+04
|
||||
3:00 - %z 1982 May
|
||||
3:00 Iraq %z
|
||||
|
||||
|
||||
###############################################################################
|
||||
@@ -2285,7 +2292,7 @@ Rule Jordan 2022 only - Feb lastThu 24:00 1:00 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Amman 2:23:44 - LMT 1931
|
||||
2:00 Jordan EE%sT 2022 Oct 28 0:00s
|
||||
3:00 - +03
|
||||
3:00 - %z
|
||||
|
||||
|
||||
# Kazakhstan
|
||||
@@ -2496,88 +2503,88 @@ Zone Asia/Amman 2:23:44 - LMT 1931
|
||||
# Almaty (formerly Alma-Ata), representing most locations in Kazakhstan
|
||||
# This includes Abai/Abay (ISO 3166-2 code KZ-10), Aqmola/Akmola (KZ-11),
|
||||
# Almaty (KZ-19), Almaty city (KZ-75), Astana city (KZ-71),
|
||||
# East Kazkhstan (KZ-63), Jambyl/Zhambyl (KZ-31), Jetisu/Zhetysu (KZ-33),
|
||||
# East Kazakhstan (KZ-63), Jambyl/Zhambyl (KZ-31), Jetisu/Zhetysu (KZ-33),
|
||||
# Karaganda (KZ-35), North Kazakhstan (KZ-59), Pavlodar (KZ-55),
|
||||
# Shyumkent city (KZ-79), Turkistan (KZ-61), and Ulytau (KZ-62).
|
||||
# Shymkent city (KZ-79), Turkistan (KZ-61), and Ulytau (KZ-62).
|
||||
Zone Asia/Almaty 5:07:48 - LMT 1924 May 2 # or Alma-Ata
|
||||
5:00 - +05 1930 Jun 21
|
||||
6:00 RussiaAsia +06/+07 1991 Mar 31 2:00s
|
||||
5:00 RussiaAsia +05/+06 1992 Jan 19 2:00s
|
||||
6:00 RussiaAsia +06/+07 2004 Oct 31 2:00s
|
||||
6:00 - +06 2024 Mar 1 0:00
|
||||
5:00 - +05
|
||||
5:00 - %z 1930 Jun 21
|
||||
6:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
5:00 RussiaAsia %z 1992 Jan 19 2:00s
|
||||
6:00 RussiaAsia %z 2004 Oct 31 2:00s
|
||||
6:00 - %z 2024 Mar 1 0:00
|
||||
5:00 - %z
|
||||
# Qyzylorda (aka Kyzylorda, Kizilorda, Kzyl-Orda, etc.) (KZ-43)
|
||||
Zone Asia/Qyzylorda 4:21:52 - LMT 1924 May 2
|
||||
4:00 - +04 1930 Jun 21
|
||||
5:00 - +05 1981 Apr 1
|
||||
5:00 1:00 +06 1981 Oct 1
|
||||
6:00 - +06 1982 Apr 1
|
||||
5:00 RussiaAsia +05/+06 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia +04/+05 1991 Sep 29 2:00s
|
||||
5:00 RussiaAsia +05/+06 1992 Jan 19 2:00s
|
||||
6:00 RussiaAsia +06/+07 1992 Mar 29 2:00s
|
||||
5:00 RussiaAsia +05/+06 2004 Oct 31 2:00s
|
||||
6:00 - +06 2018 Dec 21 0:00
|
||||
5:00 - +05
|
||||
4:00 - %z 1930 Jun 21
|
||||
5:00 - %z 1981 Apr 1
|
||||
5:00 1:00 %z 1981 Oct 1
|
||||
6:00 - %z 1982 Apr 1
|
||||
5:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia %z 1991 Sep 29 2:00s
|
||||
5:00 RussiaAsia %z 1992 Jan 19 2:00s
|
||||
6:00 RussiaAsia %z 1992 Mar 29 2:00s
|
||||
5:00 RussiaAsia %z 2004 Oct 31 2:00s
|
||||
6:00 - %z 2018 Dec 21 0:00
|
||||
5:00 - %z
|
||||
# Qostanay (aka Kostanay, Kustanay) (KZ-39)
|
||||
# The 1991/2 rules are unclear partly because of the 1997 Turgai
|
||||
# reorganization.
|
||||
Zone Asia/Qostanay 4:14:28 - LMT 1924 May 2
|
||||
4:00 - +04 1930 Jun 21
|
||||
5:00 - +05 1981 Apr 1
|
||||
5:00 1:00 +06 1981 Oct 1
|
||||
6:00 - +06 1982 Apr 1
|
||||
5:00 RussiaAsia +05/+06 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia +04/+05 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia +05/+06 2004 Oct 31 2:00s
|
||||
6:00 - +06 2024 Mar 1 0:00
|
||||
5:00 - +05
|
||||
4:00 - %z 1930 Jun 21
|
||||
5:00 - %z 1981 Apr 1
|
||||
5:00 1:00 %z 1981 Oct 1
|
||||
6:00 - %z 1982 Apr 1
|
||||
5:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia %z 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia %z 2004 Oct 31 2:00s
|
||||
6:00 - %z 2024 Mar 1 0:00
|
||||
5:00 - %z
|
||||
# Aqtöbe (aka Aktobe, formerly Aktyubinsk) (KZ-15)
|
||||
Zone Asia/Aqtobe 3:48:40 - LMT 1924 May 2
|
||||
4:00 - +04 1930 Jun 21
|
||||
5:00 - +05 1981 Apr 1
|
||||
5:00 1:00 +06 1981 Oct 1
|
||||
6:00 - +06 1982 Apr 1
|
||||
5:00 RussiaAsia +05/+06 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia +04/+05 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia +05/+06 2004 Oct 31 2:00s
|
||||
5:00 - +05
|
||||
4:00 - %z 1930 Jun 21
|
||||
5:00 - %z 1981 Apr 1
|
||||
5:00 1:00 %z 1981 Oct 1
|
||||
6:00 - %z 1982 Apr 1
|
||||
5:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia %z 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia %z 2004 Oct 31 2:00s
|
||||
5:00 - %z
|
||||
# Mangghystaū (KZ-47)
|
||||
# Aqtau was not founded until 1963, but it represents an inhabited region,
|
||||
# so include timestamps before 1963.
|
||||
Zone Asia/Aqtau 3:21:04 - LMT 1924 May 2
|
||||
4:00 - +04 1930 Jun 21
|
||||
5:00 - +05 1981 Oct 1
|
||||
6:00 - +06 1982 Apr 1
|
||||
5:00 RussiaAsia +05/+06 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia +04/+05 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia +05/+06 1994 Sep 25 2:00s
|
||||
4:00 RussiaAsia +04/+05 2004 Oct 31 2:00s
|
||||
5:00 - +05
|
||||
4:00 - %z 1930 Jun 21
|
||||
5:00 - %z 1981 Oct 1
|
||||
6:00 - %z 1982 Apr 1
|
||||
5:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia %z 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia %z 1994 Sep 25 2:00s
|
||||
4:00 RussiaAsia %z 2004 Oct 31 2:00s
|
||||
5:00 - %z
|
||||
# Atyraū (KZ-23) is like Mangghystaū except it switched from
|
||||
# +04/+05 to +05/+06 in spring 1999, not fall 1994.
|
||||
Zone Asia/Atyrau 3:27:44 - LMT 1924 May 2
|
||||
3:00 - +03 1930 Jun 21
|
||||
5:00 - +05 1981 Oct 1
|
||||
6:00 - +06 1982 Apr 1
|
||||
5:00 RussiaAsia +05/+06 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia +04/+05 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia +05/+06 1999 Mar 28 2:00s
|
||||
4:00 RussiaAsia +04/+05 2004 Oct 31 2:00s
|
||||
5:00 - +05
|
||||
3:00 - %z 1930 Jun 21
|
||||
5:00 - %z 1981 Oct 1
|
||||
6:00 - %z 1982 Apr 1
|
||||
5:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
4:00 RussiaAsia %z 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia %z 1999 Mar 28 2:00s
|
||||
4:00 RussiaAsia %z 2004 Oct 31 2:00s
|
||||
5:00 - %z
|
||||
# West Kazakhstan (KZ-27)
|
||||
# From Paul Eggert (2016-03-18):
|
||||
# The 1989 transition is from USSR act No. 227 (1989-03-14).
|
||||
Zone Asia/Oral 3:25:24 - LMT 1924 May 2 # or Ural'sk
|
||||
3:00 - +03 1930 Jun 21
|
||||
5:00 - +05 1981 Apr 1
|
||||
5:00 1:00 +06 1981 Oct 1
|
||||
6:00 - +06 1982 Apr 1
|
||||
5:00 RussiaAsia +05/+06 1989 Mar 26 2:00s
|
||||
4:00 RussiaAsia +04/+05 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia +05/+06 1992 Mar 29 2:00s
|
||||
4:00 RussiaAsia +04/+05 2004 Oct 31 2:00s
|
||||
5:00 - +05
|
||||
3:00 - %z 1930 Jun 21
|
||||
5:00 - %z 1981 Apr 1
|
||||
5:00 1:00 %z 1981 Oct 1
|
||||
6:00 - %z 1982 Apr 1
|
||||
5:00 RussiaAsia %z 1989 Mar 26 2:00s
|
||||
4:00 RussiaAsia %z 1992 Jan 19 2:00s
|
||||
5:00 RussiaAsia %z 1992 Mar 29 2:00s
|
||||
4:00 RussiaAsia %z 2004 Oct 31 2:00s
|
||||
5:00 - %z
|
||||
|
||||
# Kyrgyzstan (Kirgizstan)
|
||||
# Transitions through 1991 are from Shanks & Pottenger.
|
||||
@@ -2598,11 +2605,11 @@ Rule Kyrgyz 1997 2005 - Mar lastSun 2:30 1:00 -
|
||||
Rule Kyrgyz 1997 2004 - Oct lastSun 2:30 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Bishkek 4:58:24 - LMT 1924 May 2
|
||||
5:00 - +05 1930 Jun 21
|
||||
6:00 RussiaAsia +06/+07 1991 Mar 31 2:00s
|
||||
5:00 RussiaAsia +05/+06 1991 Aug 31 2:00
|
||||
5:00 Kyrgyz +05/+06 2005 Aug 12
|
||||
6:00 - +06
|
||||
5:00 - %z 1930 Jun 21
|
||||
6:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
5:00 RussiaAsia %z 1991 Aug 31 2:00
|
||||
5:00 Kyrgyz %z 2005 Aug 12
|
||||
6:00 - %z
|
||||
|
||||
###############################################################################
|
||||
|
||||
@@ -2809,16 +2816,16 @@ Rule NBorneo 1935 1941 - Dec 14 0:00 0 -
|
||||
# and 1982 transition dates are from Mok Ly Yng.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Kuching 7:21:20 - LMT 1926 Mar
|
||||
7:30 - +0730 1933
|
||||
8:00 NBorneo +08/+0820 1942 Feb 16
|
||||
9:00 - +09 1945 Sep 12
|
||||
8:00 - +08
|
||||
7:30 - %z 1933
|
||||
8:00 NBorneo %z 1942 Feb 16
|
||||
9:00 - %z 1945 Sep 12
|
||||
8:00 - %z
|
||||
|
||||
# Maldives
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Indian/Maldives 4:54:00 - LMT 1880 # Malé
|
||||
4:54:00 - MMT 1960 # Malé Mean Time
|
||||
5:00 - +05
|
||||
5:00 - %z
|
||||
|
||||
# Mongolia
|
||||
|
||||
@@ -2920,9 +2927,37 @@ Zone Indian/Maldives 4:54:00 - LMT 1880 # Malé
|
||||
|
||||
# From Arthur David Olson (2008-05-19):
|
||||
# Assume that Choibalsan is indeed offset by 8:00.
|
||||
# XXX--in the absence of better information, assume that transition
|
||||
# was at the start of 2008-03-31 (the day of Steffen Thorsen's report);
|
||||
# this is almost surely wrong.
|
||||
|
||||
# From Heitor David Pinto (2024-06-23):
|
||||
# Sources about time zones in Mongolia seem to list one of two conflicting
|
||||
# configurations. The first configuration, mentioned in a comment to the TZ
|
||||
# database in 1999, citing a Mongolian government website, lists the provinces
|
||||
# of Bayan-Ölgii, Khovd and Uvs in UTC+7, and the rest of the country in
|
||||
# UTC+8. The second configuration, mentioned in a comment to the database in
|
||||
# 2001, lists Bayan-Ölgii, Khovd, Uvs, Govi-Altai and Zavkhan in UTC+7, Dornod
|
||||
# and Sükhbaatar in UTC+9, and the rest of the country in UTC+8.
|
||||
#
|
||||
# The first configuration is still mentioned by several Mongolian travel
|
||||
# agencies:
|
||||
# https://www.adventurerider.mn/en/page/about_mongolia
|
||||
# http://www.naturetours.mn/nt/mongolia.php
|
||||
# https://www.newjuulchin.mn/web/content/7506?unique=fa24a0f6e96e022a3578ee5195ac879638c734ce
|
||||
#
|
||||
# It also matches these flight schedules in 2013:
|
||||
# http://web.archive.org/web/20130722023600/https://www.hunnuair.com/en/timetabled
|
||||
# The flight times imply that the airports of Uliastai (Zavkhan), Choibalsan
|
||||
# (Dornod) and Altai (Govi-Altai) are in the same time zone as Ulaanbaatar,
|
||||
# and Khovd is one hour behind....
|
||||
#
|
||||
# The second configuration was mentioned by an official of the Mongolian
|
||||
# standards agency in an interview in 2014: https://ikon.mn/n/9v6
|
||||
# And it's still listed by the Mongolian aviation agency:
|
||||
# https://ais.mn/files/aip/eAIP/2023-12-25/html/eSUP/ZM-eSUP-23-04-en-MN.html
|
||||
#
|
||||
# ... I believe that the first configuration is what is actually observed in
|
||||
# Mongolia and has been so all along, at least since 1999. The second
|
||||
# configuration closely matches the ideal time zone boundaries at 97.5° E and
|
||||
# 112.5° E but it doesn't seem to be used in practice.
|
||||
|
||||
# From Ganbold Tsagaankhuu (2015-03-10):
|
||||
# It seems like yesterday Mongolian Government meeting has concluded to use
|
||||
@@ -2961,25 +2996,18 @@ Rule Mongol 2015 2016 - Sep lastSat 0:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
# Hovd, a.k.a. Chovd, Dund-Us, Dzhargalant, Khovd, Jirgalanta
|
||||
Zone Asia/Hovd 6:06:36 - LMT 1905 Aug
|
||||
6:00 - +06 1978
|
||||
7:00 Mongol +07/+08
|
||||
6:00 - %z 1978
|
||||
7:00 Mongol %z
|
||||
# Ulaanbaatar, a.k.a. Ulan Bataar, Ulan Bator, Urga
|
||||
Zone Asia/Ulaanbaatar 7:07:32 - LMT 1905 Aug
|
||||
7:00 - +07 1978
|
||||
8:00 Mongol +08/+09
|
||||
# Choibalsan, a.k.a. Bajan Tümen, Bajan Tumen, Chojbalsan,
|
||||
# Choybalsan, Sanbejse, Tchoibalsan
|
||||
Zone Asia/Choibalsan 7:38:00 - LMT 1905 Aug
|
||||
7:00 - +07 1978
|
||||
8:00 - +08 1983 Apr
|
||||
9:00 Mongol +09/+10 2008 Mar 31
|
||||
8:00 Mongol +08/+09
|
||||
7:00 - %z 1978
|
||||
8:00 Mongol %z
|
||||
|
||||
# Nepal
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Kathmandu 5:41:16 - LMT 1920
|
||||
5:30 - +0530 1986
|
||||
5:45 - +0545
|
||||
5:30 - %z 1986
|
||||
5:45 - %z
|
||||
|
||||
# Pakistan
|
||||
|
||||
@@ -3125,10 +3153,10 @@ Rule Pakistan 2009 only - Apr 15 0:00 1:00 S
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Karachi 4:28:12 - LMT 1907
|
||||
5:30 - +0530 1942 Sep
|
||||
5:30 1:00 +0630 1945 Oct 15
|
||||
5:30 - +0530 1951 Sep 30
|
||||
5:00 - +05 1971 Mar 26
|
||||
5:30 - %z 1942 Sep
|
||||
5:30 1:00 %z 1945 Oct 15
|
||||
5:30 - %z 1951 Sep 30
|
||||
5:00 - %z 1971 Mar 26
|
||||
5:00 Pakistan PK%sT # Pakistan Time
|
||||
|
||||
# Palestine
|
||||
@@ -3676,14 +3704,14 @@ Zone Asia/Hebron 2:20:23 - LMT 1900 Oct
|
||||
# Philippine Star 2014-08-05
|
||||
# http://www.philstar.com/headlines/2014/08/05/1354152/pnoy-urged-declare-use-daylight-saving-time
|
||||
|
||||
# From Paul Goyette (2018-06-15):
|
||||
# From Paul Goyette (2018-06-15) with URLs updated by Guy Harris (2024-02-15):
|
||||
# In the Philippines, there is a national law, Republic Act No. 10535
|
||||
# which declares the official time here as "Philippine Standard Time".
|
||||
# The act [1] even specifies use of PST as the abbreviation, although
|
||||
# the FAQ provided by PAGASA [2] uses the "acronym PhST to distinguish
|
||||
# it from the Pacific Standard Time (PST)."
|
||||
# [1] http://www.officialgazette.gov.ph/2013/05/15/republic-act-no-10535/
|
||||
# [2] https://www1.pagasa.dost.gov.ph/index.php/astronomy/philippine-standard-time#republic-act-10535
|
||||
# [1] https://www.officialgazette.gov.ph/2013/05/15/republic-act-no-10535/
|
||||
# [2] https://prsd.pagasa.dost.gov.ph/index.php/28-astronomy/302-philippine-standard-time
|
||||
#
|
||||
# From Paul Eggert (2018-06-19):
|
||||
# I surveyed recent news reports, and my impression is that "PST" is
|
||||
@@ -3716,8 +3744,8 @@ Zone Asia/Manila -15:56:00 - LMT 1844 Dec 31
|
||||
# Qatar
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Qatar 3:26:08 - LMT 1920 # Al Dawhah / Doha
|
||||
4:00 - +04 1972 Jun
|
||||
3:00 - +03
|
||||
4:00 - %z 1972 Jun
|
||||
3:00 - %z
|
||||
|
||||
# Kuwait
|
||||
# Saudi Arabia
|
||||
@@ -3767,7 +3795,7 @@ Zone Asia/Qatar 3:26:08 - LMT 1920 # Al Dawhah / Doha
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Riyadh 3:06:52 - LMT 1947 Mar 14
|
||||
3:00 - +03
|
||||
3:00 - %z
|
||||
|
||||
# Singapore
|
||||
# taken from Mok Ly Yng (2003-10-30)
|
||||
@@ -3775,13 +3803,13 @@ Zone Asia/Riyadh 3:06:52 - LMT 1947 Mar 14
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Singapore 6:55:25 - LMT 1901 Jan 1
|
||||
6:55:25 - SMT 1905 Jun 1 # Singapore M.T.
|
||||
7:00 - +07 1933 Jan 1
|
||||
7:00 0:20 +0720 1936 Jan 1
|
||||
7:20 - +0720 1941 Sep 1
|
||||
7:30 - +0730 1942 Feb 16
|
||||
9:00 - +09 1945 Sep 12
|
||||
7:30 - +0730 1981 Dec 31 16:00u
|
||||
8:00 - +08
|
||||
7:00 - %z 1933 Jan 1
|
||||
7:00 0:20 %z 1936 Jan 1
|
||||
7:20 - %z 1941 Sep 1
|
||||
7:30 - %z 1942 Feb 16
|
||||
9:00 - %z 1945 Sep 12
|
||||
7:30 - %z 1981 Dec 31 16:00u
|
||||
8:00 - %z
|
||||
|
||||
# Spratly Is
|
||||
# no information
|
||||
@@ -3839,13 +3867,13 @@ Zone Asia/Singapore 6:55:25 - LMT 1901 Jan 1
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Colombo 5:19:24 - LMT 1880
|
||||
5:19:32 - MMT 1906 # Moratuwa Mean Time
|
||||
5:30 - +0530 1942 Jan 5
|
||||
5:30 0:30 +06 1942 Sep
|
||||
5:30 1:00 +0630 1945 Oct 16 2:00
|
||||
5:30 - +0530 1996 May 25 0:00
|
||||
6:30 - +0630 1996 Oct 26 0:30
|
||||
6:00 - +06 2006 Apr 15 0:30
|
||||
5:30 - +0530
|
||||
5:30 - %z 1942 Jan 5
|
||||
5:30 0:30 %z 1942 Sep
|
||||
5:30 1:00 %z 1945 Oct 16 2:00
|
||||
5:30 - %z 1996 May 25 0:00
|
||||
6:30 - %z 1996 Oct 26 0:30
|
||||
6:00 - %z 2006 Apr 15 0:30
|
||||
5:30 - %z
|
||||
|
||||
# Syria
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
@@ -4016,16 +4044,16 @@ Rule Syria 2009 2022 - Oct lastFri 0:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Damascus 2:25:12 - LMT 1920 # Dimashq
|
||||
2:00 Syria EE%sT 2022 Oct 28 0:00
|
||||
3:00 - +03
|
||||
3:00 - %z
|
||||
|
||||
# Tajikistan
|
||||
# From Shanks & Pottenger.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Dushanbe 4:35:12 - LMT 1924 May 2
|
||||
5:00 - +05 1930 Jun 21
|
||||
6:00 RussiaAsia +06/+07 1991 Mar 31 2:00s
|
||||
5:00 1:00 +06 1991 Sep 9 2:00s
|
||||
5:00 - +05
|
||||
5:00 - %z 1930 Jun 21
|
||||
6:00 RussiaAsia %z 1991 Mar 31 2:00s
|
||||
5:00 1:00 %z 1991 Sep 9 2:00s
|
||||
5:00 - %z
|
||||
|
||||
# Cambodia
|
||||
# Christmas I
|
||||
@@ -4035,16 +4063,16 @@ Zone Asia/Dushanbe 4:35:12 - LMT 1924 May 2
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Bangkok 6:42:04 - LMT 1880
|
||||
6:42:04 - BMT 1920 Apr # Bangkok Mean Time
|
||||
7:00 - +07
|
||||
7:00 - %z
|
||||
|
||||
# Turkmenistan
|
||||
# From Shanks & Pottenger.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Ashgabat 3:53:32 - LMT 1924 May 2 # or Ashkhabad
|
||||
4:00 - +04 1930 Jun 21
|
||||
5:00 RussiaAsia +05/+06 1991 Mar 31 2:00
|
||||
4:00 RussiaAsia +04/+05 1992 Jan 19 2:00
|
||||
5:00 - +05
|
||||
4:00 - %z 1930 Jun 21
|
||||
5:00 RussiaAsia %z 1991 Mar 31 2:00
|
||||
4:00 RussiaAsia %z 1992 Jan 19 2:00
|
||||
5:00 - %z
|
||||
|
||||
# Oman
|
||||
# Réunion
|
||||
@@ -4054,25 +4082,25 @@ Zone Asia/Ashgabat 3:53:32 - LMT 1924 May 2 # or Ashkhabad
|
||||
# The Crozet Is also observe Réunion time; see the 'antarctica' file.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Dubai 3:41:12 - LMT 1920
|
||||
4:00 - +04
|
||||
4:00 - %z
|
||||
|
||||
# Uzbekistan
|
||||
# Byalokoz 1919 says Uzbekistan was 4:27:53.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Samarkand 4:27:53 - LMT 1924 May 2
|
||||
4:00 - +04 1930 Jun 21
|
||||
5:00 - +05 1981 Apr 1
|
||||
5:00 1:00 +06 1981 Oct 1
|
||||
6:00 - +06 1982 Apr 1
|
||||
5:00 RussiaAsia +05/+06 1992
|
||||
5:00 - +05
|
||||
4:00 - %z 1930 Jun 21
|
||||
5:00 - %z 1981 Apr 1
|
||||
5:00 1:00 %z 1981 Oct 1
|
||||
6:00 - %z 1982 Apr 1
|
||||
5:00 RussiaAsia %z 1992
|
||||
5:00 - %z
|
||||
# Milne says Tashkent was 4:37:10.8.
|
||||
#STDOFF 4:37:10.8
|
||||
Zone Asia/Tashkent 4:37:11 - LMT 1924 May 2
|
||||
5:00 - +05 1930 Jun 21
|
||||
6:00 RussiaAsia +06/+07 1991 Mar 31 2:00
|
||||
5:00 RussiaAsia +05/+06 1992
|
||||
5:00 - +05
|
||||
5:00 - %z 1930 Jun 21
|
||||
6:00 RussiaAsia %z 1991 Mar 31 2:00
|
||||
5:00 RussiaAsia %z 1992
|
||||
5:00 - %z
|
||||
|
||||
# Vietnam (southern)
|
||||
|
||||
@@ -4130,7 +4158,7 @@ Zone Asia/Tashkent 4:37:11 - LMT 1924 May 2
|
||||
# Võ Nguyên Giáp, Việt Nam Dân Quốc Công Báo, No. 1 (1945-09-29), page 13
|
||||
# http://baochi.nlv.gov.vn/baochi/cgi-bin/baochi?a=d&d=JwvzO19450929.2.5&dliv=none
|
||||
# It says that on 1945-09-01 at 24:00, Vietnam moved back two hours, to +07.
|
||||
# It also mentions a 1945-03-29 decree (by a Japanese Goveror-General)
|
||||
# It also mentions a 1945-03-29 decree (by a Japanese Governor-General)
|
||||
# to set the time zone to +09, but does not say whether that decree
|
||||
# merely legalized an earlier change to +09.
|
||||
#
|
||||
@@ -4151,14 +4179,14 @@ Zone Asia/Tashkent 4:37:11 - LMT 1924 May 2
|
||||
#STDOFF 7:06:30.13
|
||||
Zone Asia/Ho_Chi_Minh 7:06:30 - LMT 1906 Jul 1
|
||||
7:06:30 - PLMT 1911 May 1 # Phù Liễn MT
|
||||
7:00 - +07 1942 Dec 31 23:00
|
||||
8:00 - +08 1945 Mar 14 23:00
|
||||
9:00 - +09 1945 Sep 1 24:00
|
||||
7:00 - +07 1947 Apr 1
|
||||
8:00 - +08 1955 Jul 1 01:00
|
||||
7:00 - +07 1959 Dec 31 23:00
|
||||
8:00 - +08 1975 Jun 13
|
||||
7:00 - +07
|
||||
7:00 - %z 1942 Dec 31 23:00
|
||||
8:00 - %z 1945 Mar 14 23:00
|
||||
9:00 - %z 1945 Sep 1 24:00
|
||||
7:00 - %z 1947 Apr 1
|
||||
8:00 - %z 1955 Jul 1 01:00
|
||||
7:00 - %z 1959 Dec 31 23:00
|
||||
8:00 - %z 1975 Jun 13
|
||||
7:00 - %z
|
||||
|
||||
# From Paul Eggert (2019-02-19):
|
||||
#
|
||||
|
||||
@@ -66,8 +66,8 @@ Zone Australia/Perth 7:43:24 - LMT 1895 Dec
|
||||
8:00 Aus AW%sT 1943 Jul
|
||||
8:00 AW AW%sT
|
||||
Zone Australia/Eucla 8:35:28 - LMT 1895 Dec
|
||||
8:45 Aus +0845/+0945 1943 Jul
|
||||
8:45 AW +0845/+0945
|
||||
8:45 Aus %z 1943 Jul
|
||||
8:45 AW %z
|
||||
|
||||
# Queensland
|
||||
#
|
||||
@@ -232,8 +232,8 @@ Rule LH 2008 max - Apr Sun>=1 2:00 0 -
|
||||
Rule LH 2008 max - Oct Sun>=1 2:00 0:30 -
|
||||
Zone Australia/Lord_Howe 10:36:20 - LMT 1895 Feb
|
||||
10:00 - AEST 1981 Mar
|
||||
10:30 LH +1030/+1130 1985 Jul
|
||||
10:30 LH +1030/+11
|
||||
10:30 LH %z 1985 Jul
|
||||
10:30 LH %z
|
||||
|
||||
# Australian miscellany
|
||||
#
|
||||
@@ -439,16 +439,16 @@ Rule Fiji 2019 only - Nov Sun>=8 2:00 1:00 -
|
||||
Rule Fiji 2020 only - Dec 20 2:00 1:00 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Fiji 11:55:44 - LMT 1915 Oct 26 # Suva
|
||||
12:00 Fiji +12/+13
|
||||
12:00 Fiji %z
|
||||
|
||||
# French Polynesia
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Gambier -8:59:48 - LMT 1912 Oct 1 # Rikitea
|
||||
-9:00 - -09
|
||||
-9:00 - %z
|
||||
Zone Pacific/Marquesas -9:18:00 - LMT 1912 Oct 1
|
||||
-9:30 - -0930
|
||||
-9:30 - %z
|
||||
Zone Pacific/Tahiti -9:58:16 - LMT 1912 Oct 1 # Papeete
|
||||
-10:00 - -10
|
||||
-10:00 - %z
|
||||
# Clipperton (near North America) is administered from French Polynesia;
|
||||
# it is uninhabited.
|
||||
|
||||
@@ -491,7 +491,7 @@ Rule Guam 1977 only - Aug 28 2:00 0 S
|
||||
Zone Pacific/Guam -14:21:00 - LMT 1844 Dec 31
|
||||
9:39:00 - LMT 1901 # Agana
|
||||
10:00 - GST 1941 Dec 10 # Guam
|
||||
9:00 - +09 1944 Jul 31
|
||||
9:00 - %z 1944 Jul 31
|
||||
10:00 Guam G%sT 2000 Dec 23
|
||||
10:00 - ChST # Chamorro Standard Time
|
||||
|
||||
@@ -503,30 +503,30 @@ Zone Pacific/Guam -14:21:00 - LMT 1844 Dec 31
|
||||
# Wallis & Futuna
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Tarawa 11:32:04 - LMT 1901 # Bairiki
|
||||
12:00 - +12
|
||||
12:00 - %z
|
||||
|
||||
# Kiribati (except Gilbert Is)
|
||||
# See Pacific/Tarawa for the Gilbert Is.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Kanton 0 - -00 1937 Aug 31
|
||||
-12:00 - -12 1979 Oct
|
||||
-11:00 - -11 1994 Dec 31
|
||||
13:00 - +13
|
||||
-12:00 - %z 1979 Oct
|
||||
-11:00 - %z 1994 Dec 31
|
||||
13:00 - %z
|
||||
Zone Pacific/Kiritimati -10:29:20 - LMT 1901
|
||||
-10:40 - -1040 1979 Oct
|
||||
-10:00 - -10 1994 Dec 31
|
||||
14:00 - +14
|
||||
-10:40 - %z 1979 Oct
|
||||
-10:00 - %z 1994 Dec 31
|
||||
14:00 - %z
|
||||
|
||||
# Marshall Is
|
||||
# See Pacific/Tarawa for most locations.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Kwajalein 11:09:20 - LMT 1901
|
||||
11:00 - +11 1937
|
||||
10:00 - +10 1941 Apr 1
|
||||
9:00 - +09 1944 Feb 6
|
||||
11:00 - +11 1969 Oct
|
||||
-12:00 - -12 1993 Aug 20 24:00
|
||||
12:00 - +12
|
||||
11:00 - %z 1937
|
||||
10:00 - %z 1941 Apr 1
|
||||
9:00 - %z 1944 Feb 6
|
||||
11:00 - %z 1969 Oct
|
||||
-12:00 - %z 1993 Aug 20 24:00
|
||||
12:00 - %z
|
||||
|
||||
# Micronesia
|
||||
# For Chuuk and Yap see Pacific/Port_Moresby.
|
||||
@@ -534,22 +534,22 @@ Zone Pacific/Kwajalein 11:09:20 - LMT 1901
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Kosrae -13:08:04 - LMT 1844 Dec 31
|
||||
10:51:56 - LMT 1901
|
||||
11:00 - +11 1914 Oct
|
||||
9:00 - +09 1919 Feb 1
|
||||
11:00 - +11 1937
|
||||
10:00 - +10 1941 Apr 1
|
||||
9:00 - +09 1945 Aug
|
||||
11:00 - +11 1969 Oct
|
||||
12:00 - +12 1999
|
||||
11:00 - +11
|
||||
11:00 - %z 1914 Oct
|
||||
9:00 - %z 1919 Feb 1
|
||||
11:00 - %z 1937
|
||||
10:00 - %z 1941 Apr 1
|
||||
9:00 - %z 1945 Aug
|
||||
11:00 - %z 1969 Oct
|
||||
12:00 - %z 1999
|
||||
11:00 - %z
|
||||
|
||||
# Nauru
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Nauru 11:07:40 - LMT 1921 Jan 15 # Uaobe
|
||||
11:30 - +1130 1942 Aug 29
|
||||
9:00 - +09 1945 Sep 8
|
||||
11:30 - +1130 1979 Feb 10 2:00
|
||||
12:00 - +12
|
||||
11:30 - %z 1942 Aug 29
|
||||
9:00 - %z 1945 Sep 8
|
||||
11:30 - %z 1979 Feb 10 2:00
|
||||
12:00 - %z
|
||||
|
||||
# New Caledonia
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
@@ -560,7 +560,7 @@ Rule NC 1996 only - Dec 1 2:00s 1:00 -
|
||||
Rule NC 1997 only - Mar 2 2:00s 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Noumea 11:05:48 - LMT 1912 Jan 13 # Nouméa
|
||||
11:00 NC +11/+12
|
||||
11:00 NC %z
|
||||
|
||||
|
||||
###############################################################################
|
||||
@@ -604,8 +604,8 @@ Zone Pacific/Auckland 11:39:04 - LMT 1868 Nov 2
|
||||
12:00 NZ NZ%sT
|
||||
|
||||
Zone Pacific/Chatham 12:13:48 - LMT 1868 Nov 2
|
||||
12:15 - +1215 1946 Jan 1
|
||||
12:45 Chatham +1245/+1345
|
||||
12:15 - %z 1946 Jan 1
|
||||
12:45 Chatham %z
|
||||
|
||||
# Auckland Is
|
||||
# uninhabited; Māori and Moriori, colonial settlers, pastoralists, sealers,
|
||||
@@ -658,8 +658,8 @@ Rule Cook 1979 1990 - Oct lastSun 0:00 0:30 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Rarotonga 13:20:56 - LMT 1899 Dec 26 # Avarua
|
||||
-10:39:04 - LMT 1952 Oct 16
|
||||
-10:30 - -1030 1978 Nov 12
|
||||
-10:00 Cook -10/-0930
|
||||
-10:30 - %z 1978 Nov 12
|
||||
-10:00 Cook %z
|
||||
|
||||
###############################################################################
|
||||
|
||||
@@ -676,30 +676,30 @@ Zone Pacific/Rarotonga 13:20:56 - LMT 1899 Dec 26 # Avarua
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Niue -11:19:40 - LMT 1952 Oct 16 # Alofi
|
||||
-11:20 - -1120 1964 Jul
|
||||
-11:00 - -11
|
||||
-11:20 - %z 1964 Jul
|
||||
-11:00 - %z
|
||||
|
||||
# Norfolk
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Norfolk 11:11:52 - LMT 1901 # Kingston
|
||||
11:12 - +1112 1951
|
||||
11:30 - +1130 1974 Oct 27 02:00s
|
||||
11:30 1:00 +1230 1975 Mar 2 02:00s
|
||||
11:30 - +1130 2015 Oct 4 02:00s
|
||||
11:00 - +11 2019 Jul
|
||||
11:00 AN +11/+12
|
||||
11:12 - %z 1951
|
||||
11:30 - %z 1974 Oct 27 02:00s
|
||||
11:30 1:00 %z 1975 Mar 2 02:00s
|
||||
11:30 - %z 2015 Oct 4 02:00s
|
||||
11:00 - %z 2019 Jul
|
||||
11:00 AN %z
|
||||
|
||||
# Palau (Belau)
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Palau -15:02:04 - LMT 1844 Dec 31 # Koror
|
||||
8:57:56 - LMT 1901
|
||||
9:00 - +09
|
||||
9:00 - %z
|
||||
|
||||
# Papua New Guinea
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Port_Moresby 9:48:40 - LMT 1880
|
||||
9:48:32 - PMMT 1895 # Port Moresby Mean Time
|
||||
10:00 - +10
|
||||
10:00 - %z
|
||||
#
|
||||
# From Paul Eggert (2014-10-13):
|
||||
# Base the Bougainville entry on the Arawa-Kieta region, which appears to have
|
||||
@@ -720,16 +720,16 @@ Zone Pacific/Port_Moresby 9:48:40 - LMT 1880
|
||||
#
|
||||
Zone Pacific/Bougainville 10:22:16 - LMT 1880
|
||||
9:48:32 - PMMT 1895
|
||||
10:00 - +10 1942 Jul
|
||||
9:00 - +09 1945 Aug 21
|
||||
10:00 - +10 2014 Dec 28 2:00
|
||||
11:00 - +11
|
||||
10:00 - %z 1942 Jul
|
||||
9:00 - %z 1945 Aug 21
|
||||
10:00 - %z 2014 Dec 28 2:00
|
||||
11:00 - %z
|
||||
|
||||
# Pitcairn
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Pitcairn -8:40:20 - LMT 1901 # Adamstown
|
||||
-8:30 - -0830 1998 Apr 27 0:00
|
||||
-8:00 - -08
|
||||
-8:30 - %z 1998 Apr 27 0:00
|
||||
-8:00 - %z
|
||||
|
||||
# American Samoa
|
||||
# Midway
|
||||
@@ -818,15 +818,15 @@ Rule WS 2012 2020 - Sep lastSun 3:00 1 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Apia 12:33:04 - LMT 1892 Jul 5
|
||||
-11:26:56 - LMT 1911
|
||||
-11:30 - -1130 1950
|
||||
-11:00 WS -11/-10 2011 Dec 29 24:00
|
||||
13:00 WS +13/+14
|
||||
-11:30 - %z 1950
|
||||
-11:00 WS %z 2011 Dec 29 24:00
|
||||
13:00 WS %z
|
||||
|
||||
# Solomon Is
|
||||
# excludes Bougainville, for which see Papua New Guinea
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Guadalcanal 10:39:48 - LMT 1912 Oct 1 # Honiara
|
||||
11:00 - +11
|
||||
11:00 - %z
|
||||
|
||||
# Tokelau
|
||||
#
|
||||
@@ -849,8 +849,8 @@ Zone Pacific/Guadalcanal 10:39:48 - LMT 1912 Oct 1 # Honiara
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Fakaofo -11:24:56 - LMT 1901
|
||||
-11:00 - -11 2011 Dec 30
|
||||
13:00 - +13
|
||||
-11:00 - %z 2011 Dec 30
|
||||
13:00 - %z
|
||||
|
||||
# Tonga
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
@@ -862,9 +862,9 @@ Rule Tonga 2016 only - Nov Sun>=1 2:00 1:00 -
|
||||
Rule Tonga 2017 only - Jan Sun>=15 3:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Tongatapu 12:19:12 - LMT 1945 Sep 10
|
||||
12:20 - +1220 1961
|
||||
13:00 - +13 1999
|
||||
13:00 Tonga +13/+14
|
||||
12:20 - %z 1961
|
||||
13:00 - %z 1999
|
||||
13:00 Tonga %z
|
||||
|
||||
|
||||
# US minor outlying islands
|
||||
@@ -953,7 +953,7 @@ Rule Vanuatu 1992 1993 - Jan Sat>=22 24:00 0 -
|
||||
Rule Vanuatu 1992 only - Oct Sat>=22 24:00 1:00 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Efate 11:13:16 - LMT 1912 Jan 13 # Vila
|
||||
11:00 Vanuatu +11/+12
|
||||
11:00 Vanuatu %z
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
||||
@@ -21,12 +21,13 @@
|
||||
# or visit www.oracle.com if you need additional information or have any
|
||||
# questions.
|
||||
#
|
||||
# tzdb links for backward compatibility
|
||||
# Links and zones for backward compatibility
|
||||
|
||||
# This file is in the public domain, so clarified as of
|
||||
# 2009-05-17 by Arthur David Olson.
|
||||
|
||||
# This file provides links from old or merged timezone names to current ones.
|
||||
# It also provides a few zone entries for old naming conventions.
|
||||
# Many names changed in 1993 and in 1995, and many merged names moved here
|
||||
# in the period from 2013 through 2022. Several of these names are
|
||||
# also present in the file 'backzone', which has data important only
|
||||
@@ -67,6 +68,8 @@ Link America/Rio_Branco Brazil/Acre #= America/Porto_Acre
|
||||
Link America/Noronha Brazil/DeNoronha
|
||||
Link America/Sao_Paulo Brazil/East
|
||||
Link America/Manaus Brazil/West
|
||||
Link Europe/Brussels CET
|
||||
Link America/Chicago CST6CDT
|
||||
Link America/Halifax Canada/Atlantic
|
||||
Link America/Winnipeg Canada/Central
|
||||
# This line is commented out, as the name exceeded the 14-character limit
|
||||
@@ -81,6 +84,9 @@ Link America/Whitehorse Canada/Yukon
|
||||
Link America/Santiago Chile/Continental
|
||||
Link Pacific/Easter Chile/EasterIsland
|
||||
Link America/Havana Cuba
|
||||
Link Europe/Athens EET
|
||||
Link America/Panama EST
|
||||
Link America/New_York EST5EDT
|
||||
Link Africa/Cairo Egypt
|
||||
Link Europe/Dublin Eire
|
||||
# Vanguard section, for most .zi parsers.
|
||||
@@ -119,6 +125,9 @@ Link America/Jamaica Jamaica
|
||||
Link Asia/Tokyo Japan
|
||||
Link Pacific/Kwajalein Kwajalein
|
||||
Link Africa/Tripoli Libya
|
||||
Link Europe/Brussels MET
|
||||
Link America/Phoenix MST
|
||||
Link America/Denver MST7MDT
|
||||
Link America/Tijuana Mexico/BajaNorte
|
||||
Link America/Mazatlan Mexico/BajaSur
|
||||
Link America/Mexico_City Mexico/General
|
||||
@@ -298,6 +307,7 @@ Link America/Denver America/Shiprock
|
||||
Link America/Toronto America/Thunder_Bay
|
||||
Link America/Edmonton America/Yellowknife
|
||||
Link Pacific/Auckland Antarctica/South_Pole
|
||||
Link Asia/Ulaanbaatar Asia/Choibalsan
|
||||
Link Asia/Shanghai Asia/Chongqing
|
||||
Link Asia/Shanghai Asia/Harbin
|
||||
Link Asia/Urumqi Asia/Kashgar
|
||||
@@ -312,6 +322,7 @@ Link Europe/Kyiv Europe/Zaporozhye
|
||||
Link Pacific/Kanton Pacific/Enderbury
|
||||
Link Pacific/Honolulu Pacific/Johnston
|
||||
Link Pacific/Port_Moresby Pacific/Yap
|
||||
Link Europe/Lisbon WET
|
||||
|
||||
|
||||
# Alternate names for the same location
|
||||
@@ -337,5 +348,7 @@ Link Europe/Kyiv Europe/Kiev
|
||||
# Classically, Cyprus is in Asia; e.g. see Herodotus, Histories, I.72.
|
||||
# However, for various reasons many users expect to find it under Europe.
|
||||
Link Asia/Nicosia Europe/Nicosia
|
||||
Link Pacific/Honolulu HST
|
||||
Link America/Los_Angeles PST8PDT
|
||||
Link Pacific/Guadalcanal Pacific/Ponape #= Pacific/Pohnpei
|
||||
Link Pacific/Port_Moresby Pacific/Truk #= Pacific/Chuuk
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
# These entries are for uses not otherwise covered by the tz database.
|
||||
# Their main practical use is for platforms like Android that lack
|
||||
# support for POSIX.1-2017-style TZ strings. On such platforms these entries
|
||||
# support for POSIX proleptic TZ strings. On such platforms these entries
|
||||
# can be useful if the timezone database is wrong or if a ship or
|
||||
# aircraft at sea is not in a timezone.
|
||||
|
||||
@@ -74,29 +74,29 @@ Link Etc/GMT GMT
|
||||
# so we moved the names into the Etc subdirectory.
|
||||
# Also, the time zone abbreviations are now compatible with %z.
|
||||
|
||||
Zone Etc/GMT-14 14 - +14
|
||||
Zone Etc/GMT-13 13 - +13
|
||||
Zone Etc/GMT-12 12 - +12
|
||||
Zone Etc/GMT-11 11 - +11
|
||||
Zone Etc/GMT-10 10 - +10
|
||||
Zone Etc/GMT-9 9 - +09
|
||||
Zone Etc/GMT-8 8 - +08
|
||||
Zone Etc/GMT-7 7 - +07
|
||||
Zone Etc/GMT-6 6 - +06
|
||||
Zone Etc/GMT-5 5 - +05
|
||||
Zone Etc/GMT-4 4 - +04
|
||||
Zone Etc/GMT-3 3 - +03
|
||||
Zone Etc/GMT-2 2 - +02
|
||||
Zone Etc/GMT-1 1 - +01
|
||||
Zone Etc/GMT+1 -1 - -01
|
||||
Zone Etc/GMT+2 -2 - -02
|
||||
Zone Etc/GMT+3 -3 - -03
|
||||
Zone Etc/GMT+4 -4 - -04
|
||||
Zone Etc/GMT+5 -5 - -05
|
||||
Zone Etc/GMT+6 -6 - -06
|
||||
Zone Etc/GMT+7 -7 - -07
|
||||
Zone Etc/GMT+8 -8 - -08
|
||||
Zone Etc/GMT+9 -9 - -09
|
||||
Zone Etc/GMT+10 -10 - -10
|
||||
Zone Etc/GMT+11 -11 - -11
|
||||
Zone Etc/GMT+12 -12 - -12
|
||||
Zone Etc/GMT-14 14 - %z
|
||||
Zone Etc/GMT-13 13 - %z
|
||||
Zone Etc/GMT-12 12 - %z
|
||||
Zone Etc/GMT-11 11 - %z
|
||||
Zone Etc/GMT-10 10 - %z
|
||||
Zone Etc/GMT-9 9 - %z
|
||||
Zone Etc/GMT-8 8 - %z
|
||||
Zone Etc/GMT-7 7 - %z
|
||||
Zone Etc/GMT-6 6 - %z
|
||||
Zone Etc/GMT-5 5 - %z
|
||||
Zone Etc/GMT-4 4 - %z
|
||||
Zone Etc/GMT-3 3 - %z
|
||||
Zone Etc/GMT-2 2 - %z
|
||||
Zone Etc/GMT-1 1 - %z
|
||||
Zone Etc/GMT+1 -1 - %z
|
||||
Zone Etc/GMT+2 -2 - %z
|
||||
Zone Etc/GMT+3 -3 - %z
|
||||
Zone Etc/GMT+4 -4 - %z
|
||||
Zone Etc/GMT+5 -5 - %z
|
||||
Zone Etc/GMT+6 -6 - %z
|
||||
Zone Etc/GMT+7 -7 - %z
|
||||
Zone Etc/GMT+8 -8 - %z
|
||||
Zone Etc/GMT+9 -9 - %z
|
||||
Zone Etc/GMT+10 -10 - %z
|
||||
Zone Etc/GMT+11 -11 - %z
|
||||
Zone Etc/GMT+12 -12 - %z
|
||||
|
||||
@@ -753,14 +753,6 @@ Rule Russia 1996 2010 - Oct lastSun 2:00s 0 -
|
||||
# Take "abolishing daylight saving time" to mean that time is now considered
|
||||
# to be standard.
|
||||
|
||||
# These are for backward compatibility with older versions.
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone WET 0:00 EU WE%sT
|
||||
Zone CET 1:00 C-Eur CE%sT
|
||||
Zone MET 1:00 C-Eur ME%sT
|
||||
Zone EET 2:00 EU EE%sT
|
||||
|
||||
# Previous editions of this database used abbreviations like MET DST
|
||||
# for Central European Summer Time, but this didn't agree with common usage.
|
||||
|
||||
@@ -894,7 +886,7 @@ Zone Europe/Minsk 1:50:16 - LMT 1880
|
||||
3:00 Russia MSK/MSD 1990
|
||||
3:00 - MSK 1991 Mar 31 2:00s
|
||||
2:00 Russia EE%sT 2011 Mar 27 2:00s
|
||||
3:00 - +03
|
||||
3:00 - %z
|
||||
|
||||
# Belgium
|
||||
# Luxembourg
|
||||
@@ -1199,22 +1191,22 @@ Rule Thule 2007 max - Nov Sun>=1 2:00 0 S
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/Danmarkshavn -1:14:40 - LMT 1916 Jul 28
|
||||
-3:00 - -03 1980 Apr 6 2:00
|
||||
-3:00 EU -03/-02 1996
|
||||
-3:00 - %z 1980 Apr 6 2:00
|
||||
-3:00 EU %z 1996
|
||||
0:00 - GMT
|
||||
#
|
||||
# Use the old name Scoresbysund, as the current name Ittoqqortoormiit
|
||||
# exceeds tzdb's 14-letter limit and has no common English abbreviation.
|
||||
Zone America/Scoresbysund -1:27:52 - LMT 1916 Jul 28 # Ittoqqortoormiit
|
||||
-2:00 - -02 1980 Apr 6 2:00
|
||||
-2:00 C-Eur -02/-01 1981 Mar 29
|
||||
-1:00 EU -01/+00 2024 Mar 31
|
||||
-2:00 EU -02/-01
|
||||
-2:00 - %z 1980 Apr 6 2:00
|
||||
-2:00 C-Eur %z 1981 Mar 29
|
||||
-1:00 EU %z 2024 Mar 31
|
||||
-2:00 EU %z
|
||||
Zone America/Nuuk -3:26:56 - LMT 1916 Jul 28 # Godthåb
|
||||
-3:00 - -03 1980 Apr 6 2:00
|
||||
-3:00 EU -03/-02 2023 Mar 26 1:00u
|
||||
-2:00 - -02 2023 Oct 29 1:00u
|
||||
-2:00 EU -02/-01
|
||||
-3:00 - %z 1980 Apr 6 2:00
|
||||
-3:00 EU %z 2023 Mar 26 1:00u
|
||||
-2:00 - %z 2023 Oct 29 1:00u
|
||||
-2:00 EU %z
|
||||
Zone America/Thule -4:35:08 - LMT 1916 Jul 28 # Pituffik
|
||||
-4:00 Thule A%sT
|
||||
|
||||
@@ -2086,10 +2078,39 @@ Zone Europe/Warsaw 1:24:00 - LMT 1880
|
||||
|
||||
# Portugal
|
||||
|
||||
# From Paul Eggert (2014-08-11), after a heads-up from Stephen Colebourne:
|
||||
# According to a Portuguese decree (1911-05-26)
|
||||
# https://dre.pt/application/dir/pdf1sdip/1911/05/12500/23132313.pdf
|
||||
# Lisbon was at -0:36:44.68, but switched to GMT on 1912-01-01 at 00:00.
|
||||
# From Tim Parenti (2024-07-01), per Alois Treindl (2021-02-07) and Michael
|
||||
# Deckers (2021-02-10):
|
||||
# http://oal.ul.pt/documentos/2018/01/hl1911a2018.pdf/
|
||||
# The Astronomical Observatory of Lisbon has published a list detailing the
|
||||
# historical transitions in legal time within continental Portugal. It
|
||||
# directly references many decrees and ordinances which are, in turn,
|
||||
# referenced below. They can be viewed in the public archives of the Diário da
|
||||
# República (until 1976-04-09 known as the Diário do Govêrno) at
|
||||
# https://dre.pt/ (in Portuguese).
|
||||
#
|
||||
# Most of the Rules below have been updated simply to match the Observatory's
|
||||
# listing for continental (mainland) Portugal. Although there are over 50
|
||||
# referenced decrees and ordinances, only the handful with comments below have
|
||||
# been verified against the text, typically to provide additional confidence
|
||||
# wherever dates provided by Whitman and Shanks & Pottenger had disagreed.
|
||||
# See further below for the Azores and Madeira.
|
||||
|
||||
# From Tim Parenti (2024-07-01), per Paul Eggert (2014-08-11), after a
|
||||
# heads-up from Stephen Colebourne:
|
||||
# According to a 1911-05-24 Portuguese decree, Lisbon was at -0:36:44.68, but
|
||||
# switched to GMT on 1912-01-01 at 00:00.
|
||||
# https://dre.pt/dr/detalhe/decreto/593090
|
||||
# https://dre.pt/application/conteudo/593090
|
||||
# The decree made legal time throughout Portugal and her possessions
|
||||
# "subordinate to the Greenwich meridian, according to the principle adopted at
|
||||
# the Washington Convention in 1884" and eliminated the "difference of five
|
||||
# minutes between the internal and external clocks of railway stations".
|
||||
#
|
||||
# The decree was gazetted in the 1911-05-30 issue of Diário do Govêrno, and is
|
||||
# considered to be dated 1911-05-24 by that issue's summary; however, the text
|
||||
# of the decree itself is dated 1911-05-26. The Diário da República website
|
||||
# notes the discrepancy, but later laws and the Observatory all seem to refer
|
||||
# to this decree by the 1911-05-24 date.
|
||||
#
|
||||
# From Michael Deckers (2018-02-15):
|
||||
# article 5 [of the 1911 decree; Deckers's translation] ...:
|
||||
@@ -2097,37 +2118,62 @@ Zone Europe/Warsaw 1:24:00 - LMT 1880
|
||||
# according to the 2nd article, the civil day January 1, 1912 begins,
|
||||
# all clocks therefore having to be advanced or set back correspondingly ...
|
||||
|
||||
# From Rui Pedro Salgueiro (1992-11-12):
|
||||
# Portugal has recently (September, 27) changed timezone
|
||||
# (from WET to MET or CET) to harmonize with EEC.
|
||||
#
|
||||
# Martin Bruckmann (1996-02-29) reports via Peter Ilieve
|
||||
# that Portugal is reverting to 0:00 by not moving its clocks this spring.
|
||||
# The new Prime Minister was fed up with getting up in the dark in the winter.
|
||||
#
|
||||
# From Paul Eggert (1996-11-12):
|
||||
# IATA SSIM (1991-09) reports several 1991-09 and 1992-09 transitions
|
||||
# at 02:00u, not 01:00u. Assume that these are typos.
|
||||
# IATA SSIM (1991/1992) reports that the Azores were at -1:00.
|
||||
# IATA SSIM (1993-02) says +0:00; later issues (through 1996-09) say -1:00.
|
||||
# Guess that the Azores changed to EU rules in 1992 (since that's when Portugal
|
||||
# harmonized with EU rules), and that they stayed +0:00 that winter.
|
||||
#
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
# DSH writes that despite Decree 1,469 (1915), the change to the clocks was not
|
||||
# done every year, depending on what Spain did, because of railroad schedules.
|
||||
# Go with Shanks & Pottenger.
|
||||
# From Tim Parenti (2024-07-01), per Paul Eggert (1999-01-30):
|
||||
# DSH writes in their history that Decreto 1469 of 1915-03-30 established
|
||||
# summer time and that, "despite" this, the change to the clocks was not done
|
||||
# every year, depending on what Spain did, because of railroad schedules.
|
||||
# In fact, that decree had nothing to do with DST; rather, it regulated the
|
||||
# sending of time signals. But we do see linkage to Spain in the 1920s below.
|
||||
# https://dre.pt/dr/detalhe/decreto/1469-1915-285721
|
||||
# https://dre.pt/application/conteudo/285721
|
||||
#
|
||||
# According to the Observatory, standard time was first advanced by Decreto
|
||||
# 2433 of 1916-06-09 and restored by Decreto 2712 of 1916-10-28. While Whitman
|
||||
# gives 1916-10-31 for the latter transition, Shanks & Pottenger agrees more
|
||||
# closely with the decree, which stated that its provision "will start sixty
|
||||
# minutes after the end of 31 October, according to the current time," i.e.,
|
||||
# 01:00 on 1 November.
|
||||
# https://dre.pt/dr/detalhe/decreto/2433-1916-267192
|
||||
# https://dre.pt/application/conteudo/267192
|
||||
# https://dre.pt/dr/detalhe/decreto/2712-1916-590937
|
||||
# https://dre.pt/application/conteudo/590937
|
||||
Rule Port 1916 only - Jun 17 23:00 1:00 S
|
||||
# Whitman gives 1916 Oct 31; go with Shanks & Pottenger.
|
||||
Rule Port 1916 only - Nov 1 1:00 0 -
|
||||
Rule Port 1917 only - Feb 28 23:00s 1:00 S
|
||||
Rule Port 1917 1921 - Oct 14 23:00s 0 -
|
||||
Rule Port 1918 only - Mar 1 23:00s 1:00 S
|
||||
Rule Port 1919 only - Feb 28 23:00s 1:00 S
|
||||
Rule Port 1920 only - Feb 29 23:00s 1:00 S
|
||||
Rule Port 1921 only - Feb 28 23:00s 1:00 S
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# Article 7 of Decreto 2922 of 1916-12-30 stated that "the legal time will be
|
||||
# advanced by sixty minutes from 1 March to 31 October." Per Article 15, this
|
||||
# came into force from 1917-01-01. Just before the first fall back, Decreto
|
||||
# 3446 of 1917-10-11 changed the annual end date to 14 October.
|
||||
# https://dre.pt/dr/detalhe/decreto/2922-1916-261894
|
||||
# https://dre.pt/application/conteudo/261894
|
||||
# https://dre.pt/dr/detalhe/decreto/3446-1917-495161
|
||||
# https://dre.pt/application/conteudo/495161
|
||||
# This annual change was revoked by Decreto 8038 of 1922-02-18.
|
||||
# https://dre.pt/dr/detalhe/decreto/8038-1922-569751
|
||||
# https://dre.pt/application/conteudo/569751
|
||||
Rule Port 1917 1921 - Mar 1 0:00 1:00 S
|
||||
Rule Port 1917 1921 - Oct 14 24:00 0 -
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# Decreto 9592 of 1924-04-14 noted that "France maintains the advance of legal
|
||||
# time in the summer and Spain has now adopted it for the first time" and
|
||||
# considered "that the absence of similar measures would cause serious
|
||||
# difficulties for international rail connections with consequent repercussions
|
||||
# on domestic service hours..." along with "inconvenient analogues...for postal
|
||||
# and telegraph services." Summer time would be in effect from 17 April to 4
|
||||
# October, with the spring change explicitly specified by bringing clocks
|
||||
# forward from 16 April 23:00.
|
||||
# https://dre.pt/dr/detalhe/decreto/9592-1924-652133
|
||||
# https://dre.pt/application/conteudo/652133
|
||||
#
|
||||
# Decreto 10700, issued 1925-04-16, noted that Spain had not continued summer
|
||||
# time, declared that "the current legal hour prior to 17 April remains
|
||||
# unchanged from that day forward", and revoked legislation to the contrary,
|
||||
# just a day before summer time would have otherwise resumed.
|
||||
# https://dre.pt/dr/detalhe/decreto/10700-1925-437826
|
||||
# https://dre.pt/application/conteudo/437826
|
||||
Rule Port 1924 only - Apr 16 23:00s 1:00 S
|
||||
Rule Port 1924 only - Oct 14 23:00s 0 -
|
||||
Rule Port 1924 only - Oct 4 23:00s 0 -
|
||||
Rule Port 1926 only - Apr 17 23:00s 1:00 S
|
||||
Rule Port 1926 1929 - Oct Sat>=1 23:00s 0 -
|
||||
Rule Port 1927 only - Apr 9 23:00s 1:00 S
|
||||
@@ -2139,6 +2185,8 @@ Rule Port 1931 1932 - Oct Sat>=1 23:00s 0 -
|
||||
Rule Port 1932 only - Apr 2 23:00s 1:00 S
|
||||
Rule Port 1934 only - Apr 7 23:00s 1:00 S
|
||||
# Whitman gives 1934 Oct 5; go with Shanks & Pottenger.
|
||||
# Note: The 1935 law specified 10-06 00:00, not 10-05 24:00, but the following
|
||||
# is equivalent and more succinct.
|
||||
Rule Port 1934 1938 - Oct Sat>=1 23:00s 0 -
|
||||
# Shanks & Pottenger give 1935 Apr 30; go with Whitman.
|
||||
Rule Port 1935 only - Mar 30 23:00s 1:00 S
|
||||
@@ -2149,10 +2197,19 @@ Rule Port 1938 only - Mar 26 23:00s 1:00 S
|
||||
Rule Port 1939 only - Apr 15 23:00s 1:00 S
|
||||
# Whitman gives 1939 Oct 7; go with Shanks & Pottenger.
|
||||
Rule Port 1939 only - Nov 18 23:00s 0 -
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# Portaria 9465 of 1940-02-17 advanced clocks from Saturday 1940-02-24 23:00.
|
||||
# The clocks were restored by Portaria 9658, issued Monday 1940-10-07,
|
||||
# effective from 24:00 that very night, which agrees with Shanks & Pottenger;
|
||||
# Whitman gives Saturday 1940-10-05 instead.
|
||||
# https://dre.pt/dr/detalhe/portaria/9465-1940-189096
|
||||
# https://dre.pt/application/conteudo/189096
|
||||
# https://dre.pt/dr/detalhe/portaria/9658-1940-196729
|
||||
# https://dre.pt/application/conteudo/196729
|
||||
Rule Port 1940 only - Feb 24 23:00s 1:00 S
|
||||
# Shanks & Pottenger give 1940 Oct 7; go with Whitman.
|
||||
Rule Port 1940 1941 - Oct 5 23:00s 0 -
|
||||
Rule Port 1940 only - Oct 7 23:00s 0 -
|
||||
Rule Port 1941 only - Apr 5 23:00s 1:00 S
|
||||
Rule Port 1941 only - Oct 5 23:00s 0 -
|
||||
Rule Port 1942 1945 - Mar Sat>=8 23:00s 1:00 S
|
||||
Rule Port 1942 only - Apr 25 22:00s 2:00 M # Midsummer
|
||||
Rule Port 1942 only - Aug 15 22:00s 1:00 S
|
||||
@@ -2162,66 +2219,195 @@ Rule Port 1943 1945 - Aug Sat>=25 22:00s 1:00 S
|
||||
Rule Port 1944 1945 - Apr Sat>=21 22:00s 2:00 M
|
||||
Rule Port 1946 only - Apr Sat>=1 23:00s 1:00 S
|
||||
Rule Port 1946 only - Oct Sat>=1 23:00s 0 -
|
||||
# Whitman says DST was not observed in 1950; go with Shanks & Pottenger.
|
||||
# Whitman gives Oct lastSun for 1952 on; go with Shanks & Pottenger.
|
||||
Rule Port 1947 1965 - Apr Sun>=1 2:00s 1:00 S
|
||||
# From Tim Parenti (2024-07-01), per Alois Treindl (2021-02-07):
|
||||
# The Astronomical Observatory of Lisbon cites Portaria 11767 of 1947-03-28 for
|
||||
# 1947 and Portaria 12286 of 1948-02-19 for 1948.
|
||||
# https://dre.pt/dr/detalhe/portaria/11767-1947-414787
|
||||
# https://dre.pt/application/conteudo/414787
|
||||
# https://dre.pt/dr/detalhe/portaria/12286-1948-152953
|
||||
# https://dre.pt/application/conteudo/152953
|
||||
#
|
||||
# Although the latter ordinance explicitly had the 1948-10-03 transition
|
||||
# scheduled for 02:00 rather than 03:00 as had been used in 1947, Decreto-Lei
|
||||
# 37048 of 1948-09-07 recognized "that it is advisable to definitely set...the
|
||||
# 'summer time' regime", and fixed the fall transition at 03:00 moving forward.
|
||||
# https://dre.pt/dr/detalhe/decreto-lei/37048-1948-373810
|
||||
# https://dre.pt/application/conteudo/373810
|
||||
# While the Observatory only cites this act for 1949-1965 and not for 1948, it
|
||||
# does not appear to have had any provision delaying its effect, so assume that
|
||||
# it overrode the prior ordinance for 1948-10-03.
|
||||
#
|
||||
# Whitman says DST was not observed in 1950 and gives Oct lastSun for 1952 on.
|
||||
# The Observatory, however, agrees with Shanks & Pottenger that 1950 was not an
|
||||
# exception and that Oct Sun>=1 was maintained through 1965.
|
||||
Rule Port 1947 1966 - Apr Sun>=1 2:00s 1:00 S
|
||||
Rule Port 1947 1965 - Oct Sun>=1 2:00s 0 -
|
||||
Rule Port 1977 only - Mar 27 0:00s 1:00 S
|
||||
Rule Port 1977 only - Sep 25 0:00s 0 -
|
||||
Rule Port 1978 1979 - Apr Sun>=1 0:00s 1:00 S
|
||||
Rule Port 1978 only - Oct 1 0:00s 0 -
|
||||
Rule Port 1979 1982 - Sep lastSun 1:00s 0 -
|
||||
Rule Port 1980 only - Mar lastSun 0:00s 1:00 S
|
||||
Rule Port 1981 1982 - Mar lastSun 1:00s 1:00 S
|
||||
Rule Port 1983 only - Mar lastSun 2:00s 1:00 S
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# Decreto-Lei 47233 of 1966-10-01 considered that the "duality" in time was
|
||||
# "the cause of serious disturbances" and noted that "the countries with which
|
||||
# we have the most frequent contacts...have already adopted" a solution
|
||||
# coinciding with the extant "summer time". It established that the former
|
||||
# "summer time" would apply year-round on the mainland and adjacent islands
|
||||
# with immediate effect, as the fall back would have otherwise occurred later
|
||||
# that evening.
|
||||
# https://dre.pt/dr/detalhe/decreto-lei/47233-1966-293729
|
||||
# Model this by changing zones without changing clocks at the
|
||||
# previously-appointed fall back time.
|
||||
#
|
||||
# Decreto-Lei 309/76 of 1976-04-27 acknowledged that those international
|
||||
# contacts had returned to adopting seasonal times, and considered that the
|
||||
# year-round advancement "entails considerable sacrifices for the vast majority
|
||||
# of the working population during the winter months", including morning
|
||||
# visibility concerns for schoolchildren. It specified, beginning 1976-09-26
|
||||
# 01:00, an annual return to UT+00 on the mainland from 00:00 UT on Sep lastSun
|
||||
# to 00:00 UT on Mar lastSun (unless the latter date fell on Easter, in which
|
||||
# case it was to be brought forward to the preceding Sunday). It also assigned
|
||||
# the Permanent Time Commission to study and propose revisions for the Azores
|
||||
# and Madeira, neither of which resumed DST until 1982 (as described further
|
||||
# below).
|
||||
# https://dre.pt/dr/detalhe/decreto-lei/309-1976-502063
|
||||
Rule Port 1976 only - Sep lastSun 1:00 0 -
|
||||
Rule Port 1977 only - Mar lastSun 0:00s 1:00 S
|
||||
Rule Port 1977 only - Sep lastSun 0:00s 0 -
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# Beginning in 1978, rather than triggering the Easter rule of the 1976 decree
|
||||
# (Easter fell on 1978-03-26), Article 5 was used instead, which allowed DST
|
||||
# dates to be changed by order of the Minister of Education and Scientific
|
||||
# Research, upon consultation with the Permanent Time Commission, "whenever
|
||||
# considered convenient." As such, a series of one-off ordinances were
|
||||
# promulgated for the mainland in 1978 through 1980, after which the 1976
|
||||
# decree naturally came back into force from 1981.
|
||||
Rule Port 1978 1980 - Apr Sun>=1 1:00s 1:00 S
|
||||
Rule Port 1978 only - Oct 1 1:00s 0 -
|
||||
Rule Port 1979 1980 - Sep lastSun 1:00s 0 -
|
||||
Rule Port 1981 1986 - Mar lastSun 0:00s 1:00 S
|
||||
Rule Port 1981 1985 - Sep lastSun 0:00s 0 -
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# Decreto-Lei 44-B/86 of 1986-03-07 switched mainland Portugal's transition
|
||||
# times from 0:00s to 1:00u to harmonize with the EEC from 1986-03-30.
|
||||
# https://dre.pt/dr/detalhe/decreto-lei/44-b-1986-628280
|
||||
# (Transitions of 1:00s as previously reported and used by the W-Eur rules,
|
||||
# though equivalent, appear to have been fiction here.) Madeira continued to
|
||||
# use 0:00s for spring 1986 before joining with the mainland using 1:00u in the
|
||||
# fall; meanwhile, in the Azores the two were equivalent, so the law specifying
|
||||
# 0:00s wasn't touched until 1992. (See below for more on the islands.)
|
||||
#
|
||||
# From Rui Pedro Salgueiro (1992-11-12):
|
||||
# Portugal has recently (September, 27) changed timezone
|
||||
# (from WET to MET or CET) to harmonize with EEC.
|
||||
#
|
||||
# Martin Bruckmann (1996-02-29) reports via Peter Ilieve
|
||||
# that Portugal is reverting to 0:00 by not moving its clocks this spring.
|
||||
# The new Prime Minister was fed up with getting up in the dark in the winter.
|
||||
#
|
||||
# From Paul Eggert (1996-11-12):
|
||||
# IATA SSIM (1991-09) reports several 1991-09 and 1992-09 transitions
|
||||
# at 02:00u, not 01:00u. Assume that these are typos.
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
#STDOFF -0:36:44.68
|
||||
Zone Europe/Lisbon -0:36:45 - LMT 1884
|
||||
-0:36:45 - LMT 1912 Jan 1 0:00u # Lisbon MT
|
||||
0:00 Port WE%sT 1966 Apr 3 2:00
|
||||
0:00 Port WE%sT 1966 Oct 2 2:00s
|
||||
1:00 - CET 1976 Sep 26 1:00
|
||||
0:00 Port WE%sT 1983 Sep 25 1:00s
|
||||
0:00 W-Eur WE%sT 1992 Sep 27 1:00s
|
||||
0:00 Port WE%sT 1986
|
||||
0:00 EU WE%sT 1992 Sep 27 1:00u
|
||||
1:00 EU CE%sT 1996 Mar 31 1:00u
|
||||
0:00 EU WE%sT
|
||||
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# For the Azores and Madeira, legislation was followed from the laws currently
|
||||
# in force as listed at:
|
||||
# https://oal.ul.pt/hora-legal/legislacao/
|
||||
# working backward through references of revocation and abrogation to
|
||||
# Decreto-Lei 47233 of 1966-10-01, the last time DST was abolished across the
|
||||
# mainland and its adjacent islands. Because of that reference, it is
|
||||
# therefore assumed that DST rules in the islands prior to 1966 were like that
|
||||
# of the mainland, though most legislation of the time didn't explicitly
|
||||
# specify DST practices for the islands.
|
||||
Zone Atlantic/Azores -1:42:40 - LMT 1884 # Ponta Delgada
|
||||
-1:54:32 - HMT 1912 Jan 1 2:00u # Horta MT
|
||||
# Vanguard section, for zic and other parsers that support %z.
|
||||
# -2:00 Port %z 1966 Apr 3 2:00
|
||||
# -1:00 Port %z 1983 Sep 25 1:00s
|
||||
# -1:00 W-Eur %z 1992 Sep 27 1:00s
|
||||
-2:00 Port %z 1966 Oct 2 2:00s
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# While Decreto-Lei 309/76 of 1976-04-27 reintroduced DST on the mainland by
|
||||
# falling back on 1976-09-26, it assigned the Permanent Time Commission to
|
||||
# study and propose revisions for the Azores and Madeira. Decreto Regional
|
||||
# 9/77/A of 1977-05-17 affirmed that "the legal time remained unchanged in the
|
||||
# Azores" at UT-1, and would remain there year-round.
|
||||
# https://dre.pt/dr/detalhe/decreto-regional/9-1977-252066
|
||||
#
|
||||
# Decreto Regional 2/82/A, published 1982-03-02, adopted DST in the same
|
||||
# fashion as the mainland used at the time.
|
||||
# https://dre.pt/dr/detalhe/decreto-regional/2-1982-599965
|
||||
# Though transitions in the Azores officially remained at 0:00s through 1992,
|
||||
# this was equivalent to the EU-style 1:00u adopted by the mainland in 1986, so
|
||||
# model it as such.
|
||||
-1:00 - %z 1982 Mar 28 0:00s
|
||||
-1:00 Port %z 1986
|
||||
# Rearguard section, for parsers lacking %z; see ziguard.awk.
|
||||
-2:00 Port -02/-01 1942 Apr 25 22:00s
|
||||
-2:00 Port +00 1942 Aug 15 22:00s
|
||||
-2:00 Port -02/-01 1943 Apr 17 22:00s
|
||||
-2:00 Port +00 1943 Aug 28 22:00s
|
||||
-2:00 Port -02/-01 1944 Apr 22 22:00s
|
||||
-2:00 Port +00 1944 Aug 26 22:00s
|
||||
-2:00 Port -02/-01 1945 Apr 21 22:00s
|
||||
-2:00 Port +00 1945 Aug 25 22:00s
|
||||
-2:00 Port -02/-01 1966 Apr 3 2:00
|
||||
-1:00 Port -01/+00 1983 Sep 25 1:00s
|
||||
-1:00 W-Eur -01/+00 1992 Sep 27 1:00s
|
||||
# -2:00 Port -02/-01 1942 Apr 25 22:00s
|
||||
# -2:00 Port +00 1942 Aug 15 22:00s
|
||||
# -2:00 Port -02/-01 1943 Apr 17 22:00s
|
||||
# -2:00 Port +00 1943 Aug 28 22:00s
|
||||
# -2:00 Port -02/-01 1944 Apr 22 22:00s
|
||||
# -2:00 Port +00 1944 Aug 26 22:00s
|
||||
# -2:00 Port -02/-01 1945 Apr 21 22:00s
|
||||
# -2:00 Port +00 1945 Aug 25 22:00s
|
||||
# -2:00 Port -02/-01 1966 Oct 2 2:00s
|
||||
# -1:00 - -01 1982 Mar 28 0:00s
|
||||
# -1:00 Port -01/+00 1986
|
||||
# End of rearguard section.
|
||||
0:00 EU WE%sT 1993 Mar 28 1:00u
|
||||
-1:00 EU -01/+00
|
||||
#
|
||||
# From Paul Eggert (1996-11-12):
|
||||
# IATA SSIM (1991/1992) reports that the Azores were at -1:00.
|
||||
# IATA SSIM (1993-02) says +0:00; later issues (through 1996-09) say -1:00.
|
||||
#
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# After mainland Portugal had shifted forward an hour from 1992-09-27, Decreto
|
||||
# Legislativo Regional 29/92/A of 1992-12-23 sought to "reduce the time
|
||||
# difference" by shifting the Azores forward as well from 1992-12-27. Just six
|
||||
# months later, this was revoked by Decreto Legislativo Regional 9/93/A, citing
|
||||
# "major changes in work habits and way of life." Though the revocation didn't
|
||||
# give a transition time, it was signed Wednesday 1993-06-16; assume it took
|
||||
# effect later that evening, and that an EU-style spring forward (to +01) was
|
||||
# still observed in the interim on 1993-03-28.
|
||||
# https://dre.pt/dr/detalhe/decreto-legislativo-regional/29-1992-621553
|
||||
# https://dre.pt/dr/detalhe/decreto-legislativo-regional/9-1993-389633
|
||||
-1:00 EU %z 1992 Dec 27 1:00s
|
||||
0:00 EU WE%sT 1993 Jun 17 1:00u
|
||||
-1:00 EU %z
|
||||
|
||||
Zone Atlantic/Madeira -1:07:36 - LMT 1884 # Funchal
|
||||
-1:07:36 - FMT 1912 Jan 1 1:00u # Funchal MT
|
||||
# Vanguard section, for zic and other parsers that support %z.
|
||||
# -1:00 Port %z 1966 Apr 3 2:00
|
||||
-1:00 Port %z 1966 Oct 2 2:00s
|
||||
# Rearguard section, for parsers lacking %z; see ziguard.awk.
|
||||
-1:00 Port -01/+00 1942 Apr 25 22:00s
|
||||
-1:00 Port +01 1942 Aug 15 22:00s
|
||||
-1:00 Port -01/+00 1943 Apr 17 22:00s
|
||||
-1:00 Port +01 1943 Aug 28 22:00s
|
||||
-1:00 Port -01/+00 1944 Apr 22 22:00s
|
||||
-1:00 Port +01 1944 Aug 26 22:00s
|
||||
-1:00 Port -01/+00 1945 Apr 21 22:00s
|
||||
-1:00 Port +01 1945 Aug 25 22:00s
|
||||
-1:00 Port -01/+00 1966 Apr 3 2:00
|
||||
# -1:00 Port -01/+00 1942 Apr 25 22:00s
|
||||
# -1:00 Port +01 1942 Aug 15 22:00s
|
||||
# -1:00 Port -01/+00 1943 Apr 17 22:00s
|
||||
# -1:00 Port +01 1943 Aug 28 22:00s
|
||||
# -1:00 Port -01/+00 1944 Apr 22 22:00s
|
||||
# -1:00 Port +01 1944 Aug 26 22:00s
|
||||
# -1:00 Port -01/+00 1945 Apr 21 22:00s
|
||||
# -1:00 Port +01 1945 Aug 25 22:00s
|
||||
# -1:00 Port -01/+00 1966 Oct 2 2:00s
|
||||
# End of rearguard section.
|
||||
0:00 Port WE%sT 1983 Sep 25 1:00s
|
||||
#
|
||||
# From Tim Parenti (2024-07-01):
|
||||
# Decreto Regional 5/82/M, published 1982-04-03, established DST transitions at
|
||||
# 0:00u, which for Madeira is equivalent to the mainland's rules (0:00s) at the
|
||||
# time. It came into effect the day following its publication, Sunday
|
||||
# 1982-04-04, thus resuming Madeira's DST practice about a week later than the
|
||||
# mainland and the Azores.
|
||||
# https://dre.pt/dr/detalhe/decreto-regional/5-1982-608273
|
||||
#
|
||||
# Decreto Legislativo Regional 18/86/M, published 1986-10-01, adopted EU-style
|
||||
# rules (1:00u) and entered into immediate force after being signed on
|
||||
# 1986-07-31.
|
||||
# https://dre.pt/dr/detalhe/decreto-legislativo-regional/18-1986-221705
|
||||
0:00 - WET 1982 Apr 4
|
||||
0:00 Port WE%sT 1986 Jul 31
|
||||
0:00 EU WE%sT
|
||||
|
||||
# Romania
|
||||
@@ -2433,7 +2619,7 @@ Zone Europe/Kaliningrad 1:22:00 - LMT 1893 Apr
|
||||
2:00 Poland EE%sT 1946 Apr 7
|
||||
3:00 Russia MSK/MSD 1989 Mar 26 2:00s
|
||||
2:00 Russia EE%sT 2011 Mar 27 2:00s
|
||||
3:00 - +03 2014 Oct 26 2:00s
|
||||
3:00 - %z 2014 Oct 26 2:00s
|
||||
2:00 - EET
|
||||
|
||||
|
||||
@@ -2683,14 +2869,14 @@ Zone Europe/Simferopol 2:16:24 - LMT 1880
|
||||
# http://publication.pravo.gov.ru/Document/View/0001201602150056
|
||||
|
||||
Zone Europe/Astrakhan 3:12:12 - LMT 1924 May
|
||||
3:00 - +03 1930 Jun 21
|
||||
4:00 Russia +04/+05 1989 Mar 26 2:00s
|
||||
3:00 Russia +03/+04 1991 Mar 31 2:00s
|
||||
4:00 - +04 1992 Mar 29 2:00s
|
||||
3:00 Russia +03/+04 2011 Mar 27 2:00s
|
||||
4:00 - +04 2014 Oct 26 2:00s
|
||||
3:00 - +03 2016 Mar 27 2:00s
|
||||
4:00 - +04
|
||||
3:00 - %z 1930 Jun 21
|
||||
4:00 Russia %z 1989 Mar 26 2:00s
|
||||
3:00 Russia %z 1991 Mar 31 2:00s
|
||||
4:00 - %z 1992 Mar 29 2:00s
|
||||
3:00 Russia %z 2011 Mar 27 2:00s
|
||||
4:00 - %z 2014 Oct 26 2:00s
|
||||
3:00 - %z 2016 Mar 27 2:00s
|
||||
4:00 - %z
|
||||
|
||||
# From Paul Eggert (2016-11-11):
|
||||
# Europe/Volgograd covers:
|
||||
@@ -2720,15 +2906,15 @@ Zone Europe/Astrakhan 3:12:12 - LMT 1924 May
|
||||
# http://publication.pravo.gov.ru/Document/View/0001202012220002
|
||||
|
||||
Zone Europe/Volgograd 2:57:40 - LMT 1920 Jan 3
|
||||
3:00 - +03 1930 Jun 21
|
||||
4:00 - +04 1961 Nov 11
|
||||
4:00 Russia +04/+05 1988 Mar 27 2:00s
|
||||
3:00 - %z 1930 Jun 21
|
||||
4:00 - %z 1961 Nov 11
|
||||
4:00 Russia %z 1988 Mar 27 2:00s
|
||||
3:00 Russia MSK/MSD 1991 Mar 31 2:00s
|
||||
4:00 - +04 1992 Mar 29 2:00s
|
||||
4:00 - %z 1992 Mar 29 2:00s
|
||||
3:00 Russia MSK/MSD 2011 Mar 27 2:00s
|
||||
4:00 - MSK 2014 Oct 26 2:00s
|
||||
3:00 - MSK 2018 Oct 28 2:00s
|
||||
4:00 - +04 2020 Dec 27 2:00s
|
||||
4:00 - %z 2020 Dec 27 2:00s
|
||||
3:00 - MSK
|
||||
|
||||
# From Paul Eggert (2016-11-11):
|
||||
@@ -2743,14 +2929,14 @@ Zone Europe/Volgograd 2:57:40 - LMT 1920 Jan 3
|
||||
# http://publication.pravo.gov.ru/Document/View/0001201611220031
|
||||
|
||||
Zone Europe/Saratov 3:04:18 - LMT 1919 Jul 1 0:00u
|
||||
3:00 - +03 1930 Jun 21
|
||||
4:00 Russia +04/+05 1988 Mar 27 2:00s
|
||||
3:00 Russia +03/+04 1991 Mar 31 2:00s
|
||||
4:00 - +04 1992 Mar 29 2:00s
|
||||
3:00 Russia +03/+04 2011 Mar 27 2:00s
|
||||
4:00 - +04 2014 Oct 26 2:00s
|
||||
3:00 - +03 2016 Dec 4 2:00s
|
||||
4:00 - +04
|
||||
3:00 - %z 1930 Jun 21
|
||||
4:00 Russia %z 1988 Mar 27 2:00s
|
||||
3:00 Russia %z 1991 Mar 31 2:00s
|
||||
4:00 - %z 1992 Mar 29 2:00s
|
||||
3:00 Russia %z 2011 Mar 27 2:00s
|
||||
4:00 - %z 2014 Oct 26 2:00s
|
||||
3:00 - %z 2016 Dec 4 2:00s
|
||||
4:00 - %z
|
||||
|
||||
# From Paul Eggert (2016-03-18):
|
||||
# Europe/Kirov covers:
|
||||
@@ -2758,10 +2944,10 @@ Zone Europe/Saratov 3:04:18 - LMT 1919 Jul 1 0:00u
|
||||
# The 1989 transition is from USSR act No. 227 (1989-03-14).
|
||||
#
|
||||
Zone Europe/Kirov 3:18:48 - LMT 1919 Jul 1 0:00u
|
||||
3:00 - +03 1930 Jun 21
|
||||
4:00 Russia +04/+05 1989 Mar 26 2:00s
|
||||
3:00 - %z 1930 Jun 21
|
||||
4:00 Russia %z 1989 Mar 26 2:00s
|
||||
3:00 Russia MSK/MSD 1991 Mar 31 2:00s
|
||||
4:00 - +04 1992 Mar 29 2:00s
|
||||
4:00 - %z 1992 Mar 29 2:00s
|
||||
3:00 Russia MSK/MSD 2011 Mar 27 2:00s
|
||||
4:00 - MSK 2014 Oct 26 2:00s
|
||||
3:00 - MSK
|
||||
@@ -2776,15 +2962,15 @@ Zone Europe/Kirov 3:18:48 - LMT 1919 Jul 1 0:00u
|
||||
# The 1989 transition is from USSR act No. 227 (1989-03-14).
|
||||
|
||||
Zone Europe/Samara 3:20:20 - LMT 1919 Jul 1 0:00u
|
||||
3:00 - +03 1930 Jun 21
|
||||
4:00 - +04 1935 Jan 27
|
||||
4:00 Russia +04/+05 1989 Mar 26 2:00s
|
||||
3:00 Russia +03/+04 1991 Mar 31 2:00s
|
||||
2:00 Russia +02/+03 1991 Sep 29 2:00s
|
||||
3:00 - +03 1991 Oct 20 3:00
|
||||
4:00 Russia +04/+05 2010 Mar 28 2:00s
|
||||
3:00 Russia +03/+04 2011 Mar 27 2:00s
|
||||
4:00 - +04
|
||||
3:00 - %z 1930 Jun 21
|
||||
4:00 - %z 1935 Jan 27
|
||||
4:00 Russia %z 1989 Mar 26 2:00s
|
||||
3:00 Russia %z 1991 Mar 31 2:00s
|
||||
2:00 Russia %z 1991 Sep 29 2:00s
|
||||
3:00 - %z 1991 Oct 20 3:00
|
||||
4:00 Russia %z 2010 Mar 28 2:00s
|
||||
3:00 Russia %z 2011 Mar 27 2:00s
|
||||
4:00 - %z
|
||||
|
||||
# From Paul Eggert (2016-03-18):
|
||||
# Europe/Ulyanovsk covers:
|
||||
@@ -2800,14 +2986,14 @@ Zone Europe/Samara 3:20:20 - LMT 1919 Jul 1 0:00u
|
||||
# http://publication.pravo.gov.ru/Document/View/0001201603090051
|
||||
|
||||
Zone Europe/Ulyanovsk 3:13:36 - LMT 1919 Jul 1 0:00u
|
||||
3:00 - +03 1930 Jun 21
|
||||
4:00 Russia +04/+05 1989 Mar 26 2:00s
|
||||
3:00 Russia +03/+04 1991 Mar 31 2:00s
|
||||
2:00 Russia +02/+03 1992 Jan 19 2:00s
|
||||
3:00 Russia +03/+04 2011 Mar 27 2:00s
|
||||
4:00 - +04 2014 Oct 26 2:00s
|
||||
3:00 - +03 2016 Mar 27 2:00s
|
||||
4:00 - +04
|
||||
3:00 - %z 1930 Jun 21
|
||||
4:00 Russia %z 1989 Mar 26 2:00s
|
||||
3:00 Russia %z 1991 Mar 31 2:00s
|
||||
2:00 Russia %z 1992 Jan 19 2:00s
|
||||
3:00 Russia %z 2011 Mar 27 2:00s
|
||||
4:00 - %z 2014 Oct 26 2:00s
|
||||
3:00 - %z 2016 Mar 27 2:00s
|
||||
4:00 - %z
|
||||
|
||||
# From Tim Parenti (2014-07-03), per Oscar van Vlijmen (2001-08-25):
|
||||
# Asia/Yekaterinburg covers...
|
||||
@@ -2832,12 +3018,12 @@ Zone Europe/Ulyanovsk 3:13:36 - LMT 1919 Jul 1 0:00u
|
||||
#STDOFF 4:02:32.9
|
||||
Zone Asia/Yekaterinburg 4:02:33 - LMT 1916 Jul 3
|
||||
3:45:05 - PMT 1919 Jul 15 4:00
|
||||
4:00 - +04 1930 Jun 21
|
||||
5:00 Russia +05/+06 1991 Mar 31 2:00s
|
||||
4:00 Russia +04/+05 1992 Jan 19 2:00s
|
||||
5:00 Russia +05/+06 2011 Mar 27 2:00s
|
||||
6:00 - +06 2014 Oct 26 2:00s
|
||||
5:00 - +05
|
||||
4:00 - %z 1930 Jun 21
|
||||
5:00 Russia %z 1991 Mar 31 2:00s
|
||||
4:00 Russia %z 1992 Jan 19 2:00s
|
||||
5:00 Russia %z 2011 Mar 27 2:00s
|
||||
6:00 - %z 2014 Oct 26 2:00s
|
||||
5:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03), per Oscar van Vlijmen (2001-08-25):
|
||||
@@ -2847,12 +3033,12 @@ Zone Asia/Yekaterinburg 4:02:33 - LMT 1916 Jul 3
|
||||
# Byalokoz 1919 says Omsk was 4:53:30.
|
||||
|
||||
Zone Asia/Omsk 4:53:30 - LMT 1919 Nov 14
|
||||
5:00 - +05 1930 Jun 21
|
||||
6:00 Russia +06/+07 1991 Mar 31 2:00s
|
||||
5:00 Russia +05/+06 1992 Jan 19 2:00s
|
||||
6:00 Russia +06/+07 2011 Mar 27 2:00s
|
||||
7:00 - +07 2014 Oct 26 2:00s
|
||||
6:00 - +06
|
||||
5:00 - %z 1930 Jun 21
|
||||
6:00 Russia %z 1991 Mar 31 2:00s
|
||||
5:00 Russia %z 1992 Jan 19 2:00s
|
||||
6:00 Russia %z 2011 Mar 27 2:00s
|
||||
7:00 - %z 2014 Oct 26 2:00s
|
||||
6:00 - %z
|
||||
|
||||
# From Paul Eggert (2016-02-22):
|
||||
# Asia/Barnaul covers:
|
||||
@@ -2885,14 +3071,14 @@ Zone Asia/Omsk 4:53:30 - LMT 1919 Nov 14
|
||||
# http://publication.pravo.gov.ru/Document/View/0001201603090038
|
||||
|
||||
Zone Asia/Barnaul 5:35:00 - LMT 1919 Dec 10
|
||||
6:00 - +06 1930 Jun 21
|
||||
7:00 Russia +07/+08 1991 Mar 31 2:00s
|
||||
6:00 Russia +06/+07 1992 Jan 19 2:00s
|
||||
7:00 Russia +07/+08 1995 May 28
|
||||
6:00 Russia +06/+07 2011 Mar 27 2:00s
|
||||
7:00 - +07 2014 Oct 26 2:00s
|
||||
6:00 - +06 2016 Mar 27 2:00s
|
||||
7:00 - +07
|
||||
6:00 - %z 1930 Jun 21
|
||||
7:00 Russia %z 1991 Mar 31 2:00s
|
||||
6:00 Russia %z 1992 Jan 19 2:00s
|
||||
7:00 Russia %z 1995 May 28
|
||||
6:00 Russia %z 2011 Mar 27 2:00s
|
||||
7:00 - %z 2014 Oct 26 2:00s
|
||||
6:00 - %z 2016 Mar 27 2:00s
|
||||
7:00 - %z
|
||||
|
||||
# From Paul Eggert (2016-03-18):
|
||||
# Asia/Novosibirsk covers:
|
||||
@@ -2906,14 +3092,14 @@ Zone Asia/Barnaul 5:35:00 - LMT 1919 Dec 10
|
||||
# http://publication.pravo.gov.ru/Document/View/0001201607040064
|
||||
|
||||
Zone Asia/Novosibirsk 5:31:40 - LMT 1919 Dec 14 6:00
|
||||
6:00 - +06 1930 Jun 21
|
||||
7:00 Russia +07/+08 1991 Mar 31 2:00s
|
||||
6:00 Russia +06/+07 1992 Jan 19 2:00s
|
||||
7:00 Russia +07/+08 1993 May 23 # say Shanks & P.
|
||||
6:00 Russia +06/+07 2011 Mar 27 2:00s
|
||||
7:00 - +07 2014 Oct 26 2:00s
|
||||
6:00 - +06 2016 Jul 24 2:00s
|
||||
7:00 - +07
|
||||
6:00 - %z 1930 Jun 21
|
||||
7:00 Russia %z 1991 Mar 31 2:00s
|
||||
6:00 Russia %z 1992 Jan 19 2:00s
|
||||
7:00 Russia %z 1993 May 23 # say Shanks & P.
|
||||
6:00 Russia %z 2011 Mar 27 2:00s
|
||||
7:00 - %z 2014 Oct 26 2:00s
|
||||
6:00 - %z 2016 Jul 24 2:00s
|
||||
7:00 - %z
|
||||
|
||||
# From Paul Eggert (2016-03-18):
|
||||
# Asia/Tomsk covers:
|
||||
@@ -2958,14 +3144,14 @@ Zone Asia/Novosibirsk 5:31:40 - LMT 1919 Dec 14 6:00
|
||||
# http://publication.pravo.gov.ru/Document/View/0001201604260048
|
||||
|
||||
Zone Asia/Tomsk 5:39:51 - LMT 1919 Dec 22
|
||||
6:00 - +06 1930 Jun 21
|
||||
7:00 Russia +07/+08 1991 Mar 31 2:00s
|
||||
6:00 Russia +06/+07 1992 Jan 19 2:00s
|
||||
7:00 Russia +07/+08 2002 May 1 3:00
|
||||
6:00 Russia +06/+07 2011 Mar 27 2:00s
|
||||
7:00 - +07 2014 Oct 26 2:00s
|
||||
6:00 - +06 2016 May 29 2:00s
|
||||
7:00 - +07
|
||||
6:00 - %z 1930 Jun 21
|
||||
7:00 Russia %z 1991 Mar 31 2:00s
|
||||
6:00 Russia %z 1992 Jan 19 2:00s
|
||||
7:00 Russia %z 2002 May 1 3:00
|
||||
6:00 Russia %z 2011 Mar 27 2:00s
|
||||
7:00 - %z 2014 Oct 26 2:00s
|
||||
6:00 - %z 2016 May 29 2:00s
|
||||
7:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03):
|
||||
@@ -2996,12 +3182,12 @@ Zone Asia/Tomsk 5:39:51 - LMT 1919 Dec 22
|
||||
# realigning itself with KRAT.
|
||||
|
||||
Zone Asia/Novokuznetsk 5:48:48 - LMT 1924 May 1
|
||||
6:00 - +06 1930 Jun 21
|
||||
7:00 Russia +07/+08 1991 Mar 31 2:00s
|
||||
6:00 Russia +06/+07 1992 Jan 19 2:00s
|
||||
7:00 Russia +07/+08 2010 Mar 28 2:00s
|
||||
6:00 Russia +06/+07 2011 Mar 27 2:00s
|
||||
7:00 - +07
|
||||
6:00 - %z 1930 Jun 21
|
||||
7:00 Russia %z 1991 Mar 31 2:00s
|
||||
6:00 Russia %z 1992 Jan 19 2:00s
|
||||
7:00 Russia %z 2010 Mar 28 2:00s
|
||||
6:00 Russia %z 2011 Mar 27 2:00s
|
||||
7:00 - %z
|
||||
|
||||
# From Tim Parenti (2014-07-03), per Oscar van Vlijmen (2001-08-25):
|
||||
# Asia/Krasnoyarsk covers...
|
||||
@@ -3015,12 +3201,12 @@ Zone Asia/Novokuznetsk 5:48:48 - LMT 1924 May 1
|
||||
# Byalokoz 1919 says Krasnoyarsk was 6:11:26.
|
||||
|
||||
Zone Asia/Krasnoyarsk 6:11:26 - LMT 1920 Jan 6
|
||||
6:00 - +06 1930 Jun 21
|
||||
7:00 Russia +07/+08 1991 Mar 31 2:00s
|
||||
6:00 Russia +06/+07 1992 Jan 19 2:00s
|
||||
7:00 Russia +07/+08 2011 Mar 27 2:00s
|
||||
8:00 - +08 2014 Oct 26 2:00s
|
||||
7:00 - +07
|
||||
6:00 - %z 1930 Jun 21
|
||||
7:00 Russia %z 1991 Mar 31 2:00s
|
||||
6:00 Russia %z 1992 Jan 19 2:00s
|
||||
7:00 Russia %z 2011 Mar 27 2:00s
|
||||
8:00 - %z 2014 Oct 26 2:00s
|
||||
7:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03), per Oscar van Vlijmen (2001-08-25):
|
||||
@@ -3037,12 +3223,12 @@ Zone Asia/Krasnoyarsk 6:11:26 - LMT 1920 Jan 6
|
||||
|
||||
Zone Asia/Irkutsk 6:57:05 - LMT 1880
|
||||
6:57:05 - IMT 1920 Jan 25 # Irkutsk Mean Time
|
||||
7:00 - +07 1930 Jun 21
|
||||
8:00 Russia +08/+09 1991 Mar 31 2:00s
|
||||
7:00 Russia +07/+08 1992 Jan 19 2:00s
|
||||
8:00 Russia +08/+09 2011 Mar 27 2:00s
|
||||
9:00 - +09 2014 Oct 26 2:00s
|
||||
8:00 - +08
|
||||
7:00 - %z 1930 Jun 21
|
||||
8:00 Russia %z 1991 Mar 31 2:00s
|
||||
7:00 Russia %z 1992 Jan 19 2:00s
|
||||
8:00 Russia %z 2011 Mar 27 2:00s
|
||||
9:00 - %z 2014 Oct 26 2:00s
|
||||
8:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-06):
|
||||
@@ -3059,13 +3245,13 @@ Zone Asia/Irkutsk 6:57:05 - LMT 1880
|
||||
# http://publication.pravo.gov.ru/Document/View/0001201512300107
|
||||
|
||||
Zone Asia/Chita 7:33:52 - LMT 1919 Dec 15
|
||||
8:00 - +08 1930 Jun 21
|
||||
9:00 Russia +09/+10 1991 Mar 31 2:00s
|
||||
8:00 Russia +08/+09 1992 Jan 19 2:00s
|
||||
9:00 Russia +09/+10 2011 Mar 27 2:00s
|
||||
10:00 - +10 2014 Oct 26 2:00s
|
||||
8:00 - +08 2016 Mar 27 2:00
|
||||
9:00 - +09
|
||||
8:00 - %z 1930 Jun 21
|
||||
9:00 Russia %z 1991 Mar 31 2:00s
|
||||
8:00 Russia %z 1992 Jan 19 2:00s
|
||||
9:00 Russia %z 2011 Mar 27 2:00s
|
||||
10:00 - %z 2014 Oct 26 2:00s
|
||||
8:00 - %z 2016 Mar 27 2:00
|
||||
9:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03), per Oscar van Vlijmen (2009-11-29):
|
||||
@@ -3105,12 +3291,12 @@ Zone Asia/Chita 7:33:52 - LMT 1919 Dec 15
|
||||
# Byalokoz 1919 says Yakutsk was 8:38:58.
|
||||
|
||||
Zone Asia/Yakutsk 8:38:58 - LMT 1919 Dec 15
|
||||
8:00 - +08 1930 Jun 21
|
||||
9:00 Russia +09/+10 1991 Mar 31 2:00s
|
||||
8:00 Russia +08/+09 1992 Jan 19 2:00s
|
||||
9:00 Russia +09/+10 2011 Mar 27 2:00s
|
||||
10:00 - +10 2014 Oct 26 2:00s
|
||||
9:00 - +09
|
||||
8:00 - %z 1930 Jun 21
|
||||
9:00 Russia %z 1991 Mar 31 2:00s
|
||||
8:00 Russia %z 1992 Jan 19 2:00s
|
||||
9:00 Russia %z 2011 Mar 27 2:00s
|
||||
10:00 - %z 2014 Oct 26 2:00s
|
||||
9:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03), per Oscar van Vlijmen (2009-11-29):
|
||||
@@ -3128,12 +3314,12 @@ Zone Asia/Yakutsk 8:38:58 - LMT 1919 Dec 15
|
||||
# Go with Byalokoz.
|
||||
|
||||
Zone Asia/Vladivostok 8:47:31 - LMT 1922 Nov 15
|
||||
9:00 - +09 1930 Jun 21
|
||||
10:00 Russia +10/+11 1991 Mar 31 2:00s
|
||||
9:00 Russia +09/+10 1992 Jan 19 2:00s
|
||||
10:00 Russia +10/+11 2011 Mar 27 2:00s
|
||||
11:00 - +11 2014 Oct 26 2:00s
|
||||
10:00 - +10
|
||||
9:00 - %z 1930 Jun 21
|
||||
10:00 Russia %z 1991 Mar 31 2:00s
|
||||
9:00 Russia %z 1992 Jan 19 2:00s
|
||||
10:00 Russia %z 2011 Mar 27 2:00s
|
||||
11:00 - %z 2014 Oct 26 2:00s
|
||||
10:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03):
|
||||
@@ -3151,14 +3337,14 @@ Zone Asia/Vladivostok 8:47:31 - LMT 1922 Nov 15
|
||||
# This transition is no doubt wrong, but we have no better info.
|
||||
|
||||
Zone Asia/Khandyga 9:02:13 - LMT 1919 Dec 15
|
||||
8:00 - +08 1930 Jun 21
|
||||
9:00 Russia +09/+10 1991 Mar 31 2:00s
|
||||
8:00 Russia +08/+09 1992 Jan 19 2:00s
|
||||
9:00 Russia +09/+10 2004
|
||||
10:00 Russia +10/+11 2011 Mar 27 2:00s
|
||||
11:00 - +11 2011 Sep 13 0:00s # Decree 725?
|
||||
10:00 - +10 2014 Oct 26 2:00s
|
||||
9:00 - +09
|
||||
8:00 - %z 1930 Jun 21
|
||||
9:00 Russia %z 1991 Mar 31 2:00s
|
||||
8:00 Russia %z 1992 Jan 19 2:00s
|
||||
9:00 Russia %z 2004
|
||||
10:00 Russia %z 2011 Mar 27 2:00s
|
||||
11:00 - %z 2011 Sep 13 0:00s # Decree 725?
|
||||
10:00 - %z 2014 Oct 26 2:00s
|
||||
9:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03):
|
||||
@@ -3174,14 +3360,14 @@ Zone Asia/Khandyga 9:02:13 - LMT 1919 Dec 15
|
||||
|
||||
# The Zone name should be Asia/Yuzhno-Sakhalinsk, but that's too long.
|
||||
Zone Asia/Sakhalin 9:30:48 - LMT 1905 Aug 23
|
||||
9:00 - +09 1945 Aug 25
|
||||
11:00 Russia +11/+12 1991 Mar 31 2:00s # Sakhalin T
|
||||
10:00 Russia +10/+11 1992 Jan 19 2:00s
|
||||
11:00 Russia +11/+12 1997 Mar lastSun 2:00s
|
||||
10:00 Russia +10/+11 2011 Mar 27 2:00s
|
||||
11:00 - +11 2014 Oct 26 2:00s
|
||||
10:00 - +10 2016 Mar 27 2:00s
|
||||
11:00 - +11
|
||||
9:00 - %z 1945 Aug 25
|
||||
11:00 Russia %z 1991 Mar 31 2:00s # Sakhalin T
|
||||
10:00 Russia %z 1992 Jan 19 2:00s
|
||||
11:00 Russia %z 1997 Mar lastSun 2:00s
|
||||
10:00 Russia %z 2011 Mar 27 2:00s
|
||||
11:00 - %z 2014 Oct 26 2:00s
|
||||
10:00 - %z 2016 Mar 27 2:00s
|
||||
11:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03), per Oscar van Vlijmen (2009-11-29):
|
||||
@@ -3204,13 +3390,13 @@ Zone Asia/Sakhalin 9:30:48 - LMT 1905 Aug 23
|
||||
# http://publication.pravo.gov.ru/Document/View/0001201604050038
|
||||
|
||||
Zone Asia/Magadan 10:03:12 - LMT 1924 May 2
|
||||
10:00 - +10 1930 Jun 21 # Magadan Time
|
||||
11:00 Russia +11/+12 1991 Mar 31 2:00s
|
||||
10:00 Russia +10/+11 1992 Jan 19 2:00s
|
||||
11:00 Russia +11/+12 2011 Mar 27 2:00s
|
||||
12:00 - +12 2014 Oct 26 2:00s
|
||||
10:00 - +10 2016 Apr 24 2:00s
|
||||
11:00 - +11
|
||||
10:00 - %z 1930 Jun 21 # Magadan Time
|
||||
11:00 Russia %z 1991 Mar 31 2:00s
|
||||
10:00 Russia %z 1992 Jan 19 2:00s
|
||||
11:00 Russia %z 2011 Mar 27 2:00s
|
||||
12:00 - %z 2014 Oct 26 2:00s
|
||||
10:00 - %z 2016 Apr 24 2:00s
|
||||
11:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-06):
|
||||
@@ -3255,12 +3441,12 @@ Zone Asia/Magadan 10:03:12 - LMT 1924 May 2
|
||||
# Go with Srednekolymsk.
|
||||
|
||||
Zone Asia/Srednekolymsk 10:14:52 - LMT 1924 May 2
|
||||
10:00 - +10 1930 Jun 21
|
||||
11:00 Russia +11/+12 1991 Mar 31 2:00s
|
||||
10:00 Russia +10/+11 1992 Jan 19 2:00s
|
||||
11:00 Russia +11/+12 2011 Mar 27 2:00s
|
||||
12:00 - +12 2014 Oct 26 2:00s
|
||||
11:00 - +11
|
||||
10:00 - %z 1930 Jun 21
|
||||
11:00 Russia %z 1991 Mar 31 2:00s
|
||||
10:00 Russia %z 1992 Jan 19 2:00s
|
||||
11:00 Russia %z 2011 Mar 27 2:00s
|
||||
12:00 - %z 2014 Oct 26 2:00s
|
||||
11:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03):
|
||||
@@ -3278,14 +3464,14 @@ Zone Asia/Srednekolymsk 10:14:52 - LMT 1924 May 2
|
||||
# UTC+12 since at least then, too.
|
||||
|
||||
Zone Asia/Ust-Nera 9:32:54 - LMT 1919 Dec 15
|
||||
8:00 - +08 1930 Jun 21
|
||||
9:00 Russia +09/+10 1981 Apr 1
|
||||
11:00 Russia +11/+12 1991 Mar 31 2:00s
|
||||
10:00 Russia +10/+11 1992 Jan 19 2:00s
|
||||
11:00 Russia +11/+12 2011 Mar 27 2:00s
|
||||
12:00 - +12 2011 Sep 13 0:00s # Decree 725?
|
||||
11:00 - +11 2014 Oct 26 2:00s
|
||||
10:00 - +10
|
||||
8:00 - %z 1930 Jun 21
|
||||
9:00 Russia %z 1981 Apr 1
|
||||
11:00 Russia %z 1991 Mar 31 2:00s
|
||||
10:00 Russia %z 1992 Jan 19 2:00s
|
||||
11:00 Russia %z 2011 Mar 27 2:00s
|
||||
12:00 - %z 2011 Sep 13 0:00s # Decree 725?
|
||||
11:00 - %z 2014 Oct 26 2:00s
|
||||
10:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03), per Oscar van Vlijmen (2001-08-25):
|
||||
@@ -3298,12 +3484,12 @@ Zone Asia/Ust-Nera 9:32:54 - LMT 1919 Dec 15
|
||||
# The Zone name should be Asia/Petropavlovsk-Kamchatski or perhaps
|
||||
# Asia/Petropavlovsk-Kamchatsky, but these are too long.
|
||||
Zone Asia/Kamchatka 10:34:36 - LMT 1922 Nov 10
|
||||
11:00 - +11 1930 Jun 21
|
||||
12:00 Russia +12/+13 1991 Mar 31 2:00s
|
||||
11:00 Russia +11/+12 1992 Jan 19 2:00s
|
||||
12:00 Russia +12/+13 2010 Mar 28 2:00s
|
||||
11:00 Russia +11/+12 2011 Mar 27 2:00s
|
||||
12:00 - +12
|
||||
11:00 - %z 1930 Jun 21
|
||||
12:00 Russia %z 1991 Mar 31 2:00s
|
||||
11:00 Russia %z 1992 Jan 19 2:00s
|
||||
12:00 Russia %z 2010 Mar 28 2:00s
|
||||
11:00 Russia %z 2011 Mar 27 2:00s
|
||||
12:00 - %z
|
||||
|
||||
|
||||
# From Tim Parenti (2014-07-03):
|
||||
@@ -3311,13 +3497,13 @@ Zone Asia/Kamchatka 10:34:36 - LMT 1922 Nov 10
|
||||
# 87 RU-CHU Chukotka Autonomous Okrug
|
||||
|
||||
Zone Asia/Anadyr 11:49:56 - LMT 1924 May 2
|
||||
12:00 - +12 1930 Jun 21
|
||||
13:00 Russia +13/+14 1982 Apr 1 0:00s
|
||||
12:00 Russia +12/+13 1991 Mar 31 2:00s
|
||||
11:00 Russia +11/+12 1992 Jan 19 2:00s
|
||||
12:00 Russia +12/+13 2010 Mar 28 2:00s
|
||||
11:00 Russia +11/+12 2011 Mar 27 2:00s
|
||||
12:00 - +12
|
||||
12:00 - %z 1930 Jun 21
|
||||
13:00 Russia %z 1982 Apr 1 0:00s
|
||||
12:00 Russia %z 1991 Mar 31 2:00s
|
||||
11:00 Russia %z 1992 Jan 19 2:00s
|
||||
12:00 Russia %z 2010 Mar 28 2:00s
|
||||
11:00 Russia %z 2011 Mar 27 2:00s
|
||||
12:00 - %z
|
||||
|
||||
# Bosnia & Herzegovina
|
||||
# Croatia
|
||||
@@ -3436,7 +3622,7 @@ Zone Africa/Ceuta -0:21:16 - LMT 1901 Jan 1 0:00u
|
||||
1:00 - CET 1986
|
||||
1:00 EU CE%sT
|
||||
Zone Atlantic/Canary -1:01:36 - LMT 1922 Mar # Las Palmas de Gran C.
|
||||
-1:00 - -01 1946 Sep 30 1:00
|
||||
-1:00 - %z 1946 Sep 30 1:00
|
||||
0:00 - WET 1980 Apr 6 0:00s
|
||||
0:00 1:00 WEST 1980 Sep 28 1:00u
|
||||
0:00 EU WE%sT
|
||||
@@ -3517,8 +3703,8 @@ Zone Atlantic/Canary -1:01:36 - LMT 1922 Mar # Las Palmas de Gran C.
|
||||
# but if no one is present after 11 at night, could be postponed until one
|
||||
# hour before the beginning of service.
|
||||
|
||||
# From Paul Eggert (2013-09-11):
|
||||
# Round BMT to the nearest even second, 0:29:46.
|
||||
# From Paul Eggert (2024-05-24):
|
||||
# Express BMT as 0:29:45.500, approximately the same precision 7° 26' 22.50".
|
||||
#
|
||||
# We can find no reliable source for Shanks's assertion that all of Switzerland
|
||||
# except Geneva switched to Bern Mean Time at 00:00 on 1848-09-12. This book:
|
||||
@@ -3557,6 +3743,7 @@ Rule Swiss 1941 1942 - May Mon>=1 1:00 1:00 S
|
||||
Rule Swiss 1941 1942 - Oct Mon>=1 2:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Europe/Zurich 0:34:08 - LMT 1853 Jul 16 # See above comment.
|
||||
#STDOFF 0:29:45.500
|
||||
0:29:46 - BMT 1894 Jun # Bern Mean Time
|
||||
1:00 Swiss CE%sT 1981
|
||||
1:00 EU CE%sT
|
||||
@@ -3754,7 +3941,7 @@ Rule Turkey 1996 2006 - Oct lastSun 1:00s 0 -
|
||||
Zone Europe/Istanbul 1:55:52 - LMT 1880
|
||||
1:56:56 - IMT 1910 Oct # Istanbul Mean Time?
|
||||
2:00 Turkey EE%sT 1978 Jun 29
|
||||
3:00 Turkey +03/+04 1984 Nov 1 2:00
|
||||
3:00 Turkey %z 1984 Nov 1 2:00
|
||||
2:00 Turkey EE%sT 2007
|
||||
2:00 EU EE%sT 2011 Mar 27 1:00u
|
||||
2:00 - EET 2011 Mar 28 1:00u
|
||||
@@ -3763,7 +3950,7 @@ Zone Europe/Istanbul 1:55:52 - LMT 1880
|
||||
2:00 EU EE%sT 2015 Oct 25 1:00u
|
||||
2:00 1:00 EEST 2015 Nov 8 1:00u
|
||||
2:00 EU EE%sT 2016 Sep 7
|
||||
3:00 - +03
|
||||
3:00 - %z
|
||||
|
||||
# Ukraine
|
||||
#
|
||||
|
||||
@@ -92,11 +92,11 @@ Leap 2016 Dec 31 23:59:60 + S
|
||||
# Any additional leap seconds will come after this.
|
||||
# This Expires line is commented out for now,
|
||||
# so that pre-2020a zic implementations do not reject this file.
|
||||
#Expires 2024 Dec 28 00:00:00
|
||||
#Expires 2025 Jun 28 00:00:00
|
||||
|
||||
# POSIX timestamps for the data in this file:
|
||||
#updated 1704708379 (2024-01-08 10:06:19 UTC)
|
||||
#expires 1735344000 (2024-12-28 00:00:00 UTC)
|
||||
#updated 1720104763 (2024-07-04 14:52:43 UTC)
|
||||
#expires 1751068800 (2025-06-28 00:00:00 UTC)
|
||||
|
||||
# Updated through IERS Bulletin C (https://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat)
|
||||
# File expires on 28 December 2024
|
||||
# File expires on 28 June 2025
|
||||
|
||||
@@ -208,26 +208,6 @@ Rule US 1987 2006 - Apr Sun>=1 2:00 1:00 D
|
||||
Rule US 2007 max - Mar Sun>=8 2:00 1:00 D
|
||||
Rule US 2007 max - Nov Sun>=1 2:00 0 S
|
||||
|
||||
# From Arthur David Olson, 2005-12-19
|
||||
# We generate the files specified below to guard against old files with
|
||||
# obsolete information being left in the time zone binary directory.
|
||||
# We limit the list to names that have appeared in previous versions of
|
||||
# this time zone package.
|
||||
# We do these as separate Zones rather than as Links to avoid problems if
|
||||
# a particular place changes whether it observes DST.
|
||||
# We put these specifications here in the northamerica file both to
|
||||
# increase the chances that they'll actually get compiled and to
|
||||
# avoid the need to duplicate the US rules in another file.
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone EST -5:00 - EST
|
||||
Zone MST -7:00 - MST
|
||||
Zone HST -10:00 - HST
|
||||
Zone EST5EDT -5:00 US E%sT
|
||||
Zone CST6CDT -6:00 US C%sT
|
||||
Zone MST7MDT -7:00 US M%sT
|
||||
Zone PST8PDT -8:00 US P%sT
|
||||
|
||||
# From U. S. Naval Observatory (1989-01-19):
|
||||
# USA EASTERN 5 H BEHIND UTC NEW YORK, WASHINGTON
|
||||
# USA EASTERN 4 H BEHIND UTC APR 3 - OCT 30
|
||||
@@ -2396,6 +2376,81 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20
|
||||
# the researchers who prepared the Decrees page failed to find some of
|
||||
# the relevant documents.
|
||||
|
||||
# From Heitor David Pinto (2024-08-04):
|
||||
# In 1931, the decree implementing DST specified that it would take
|
||||
# effect on 30 April....
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?cod_diario=192270&pagina=2&seccion=1
|
||||
#
|
||||
# In 1981, the decree changing Campeche, Yucatán and Quintana Roo to UTC-5
|
||||
# specified that it would enter into force on 26 December 1981 at 2:00....
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4705667&fecha=23/12/1981&cod_diario=202796
|
||||
#
|
||||
# In 1982, the decree returning Campeche and Yucatán to UTC-6 specified that
|
||||
# it would enter into force on 2 November 1982 at 2:00....
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?cod_diario=205689&pagina=3&seccion=0
|
||||
#
|
||||
# Quintana Roo changed to UTC-6 on 4 January 1983 at 0:00, and again
|
||||
# to UTC-5 on 26 October 1997 at 2:00....
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4787355&fecha=28/12/1982&cod_diario=206112
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?cod_diario=209559&pagina=15&seccion=0
|
||||
#
|
||||
# Durango, Coahuila, Nuevo León and Tamaulipas were set to UTC-7 on 1 January
|
||||
# 1922, and changed to UTC-6 on 10 June 1927. Then Durango, Coahuila and
|
||||
# Nuevo León (but not Tamaulipas) returned to UTC-7 on 15 November 1930,
|
||||
# observed DST in 1931, and changed again to UTC-6 on 1 April 1932....
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4441846&fecha=29/12/1921&cod_diario=187468
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4541520&fecha=09/06/1927&cod_diario=193920
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4491963&fecha=15/11/1930&cod_diario=190835
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4418437&fecha=21/01/1932&cod_diario=185588
|
||||
#
|
||||
# ... the ... 10 June 1927 ... decree only said 10 June 1927, without
|
||||
# specifying a time, so I suppose that it should be considered at 0:00.
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4541520&fecha=09/06/1927&cod_diario=193920
|
||||
#
|
||||
# In 1942, the decree changing Baja California, Baja California Sur, Sonora,
|
||||
# Sinaloa and Nayarit to UTC-7 was published on 24 April, but it said that it
|
||||
# would apply from 1 April, so it's unclear when the change actually
|
||||
# occurred. The database currently shows 24 April 1942.
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?cod_diario=192203&pagina=2&seccion=1
|
||||
#
|
||||
# Baja California Sur, Sonora, Sinaloa and Nayarit never used UTC-8. The ...
|
||||
# 14 January 1949 ... change [to UTC-8] only occurred in Baja California.
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4515613&fecha=13/01/1949&cod_diario=192309
|
||||
#
|
||||
# In 1945, the decree changing Baja California to UTC-8 specified that it
|
||||
# would take effect on the third day from its publication.
|
||||
# It was published on 12 November, so it would take effect on 15 November....
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4555049&fecha=12/11/1945&cod_diario=194763
|
||||
#
|
||||
# In 1948, the decree changing Baja California to UTC-7 specified that it
|
||||
# would take effect on "this date". The decree was made on 13 March,
|
||||
# but published on 5 April, so it's unclear when the change actually occurred.
|
||||
# The database currently shows 5 April 1948.
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?cod_diario=188624&pagina=2&seccion=0
|
||||
#
|
||||
# In 1949, the decree changing Baja California to UTC-8 was published on 13
|
||||
# January, but it said that it would apply from 1 January, so it's unclear when
|
||||
# the change actually occurred. The database currently shows 14 January 1949.
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4515613&fecha=13/01/1949&cod_diario=192309
|
||||
#
|
||||
# Baja California also observed UTC-7 from 1 May to 24 September 1950,
|
||||
# from 29 April to 30 September 1951 at 2:00,
|
||||
# and from 27 April to 28 September 1952 at 2:00....
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4600403&fecha=29/04/1950&cod_diario=197505
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4623553&fecha=23/09/1950&cod_diario=198805
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4469444&fecha=27/04/1951&cod_diario=189317
|
||||
# https://www.dof.gob.mx/nota_to_imagen_fs.php?codnota=4533868&fecha=10/03/1952&cod_diario=193465
|
||||
#
|
||||
# All changes in Baja California from 1948 to 1952 match those in California,
|
||||
# on the same dates or with a difference of one day.
|
||||
# So it may be easier to implement these changes as DST with rule CA
|
||||
# during this whole period.
|
||||
#
|
||||
# From Paul Eggert (2024-08-18):
|
||||
# For now, maintain the slightly-different history for Baja California,
|
||||
# as we have no information on whether 1948/1952 clocks in Tijuana followed
|
||||
# the decrees or followed San Diego.
|
||||
|
||||
# From Alan Perry (1996-02-15):
|
||||
# A guy from our Mexico subsidiary finally found the Presidential Decree
|
||||
# outlining the timezone changes in Mexico.
|
||||
@@ -2599,7 +2654,7 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20
|
||||
# http://puentelibre.mx/noticia/ciudad_juarez_cambio_horario_noviembre_2022/
|
||||
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
Rule Mexico 1931 only - May 1 23:00 1:00 D
|
||||
Rule Mexico 1931 only - April 30 0:00 1:00 D
|
||||
Rule Mexico 1931 only - Oct 1 0:00 0 S
|
||||
Rule Mexico 1939 only - Feb 5 0:00 1:00 D
|
||||
Rule Mexico 1939 only - Jun 25 0:00 0 S
|
||||
@@ -2618,14 +2673,16 @@ Rule Mexico 2002 2022 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
# Quintana Roo; represented by Cancún
|
||||
Zone America/Cancun -5:47:04 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1981 Dec 23
|
||||
-6:00 - CST 1981 Dec 26 2:00
|
||||
-5:00 - EST 1983 Jan 4 0:00
|
||||
-6:00 Mexico C%sT 1997 Oct 26 2:00
|
||||
-5:00 Mexico E%sT 1998 Aug 2 2:00
|
||||
-6:00 Mexico C%sT 2015 Feb 1 2:00
|
||||
-5:00 - EST
|
||||
# Campeche, Yucatán; represented by Mérida
|
||||
Zone America/Merida -5:58:28 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1981 Dec 23
|
||||
-5:00 - EST 1982 Dec 2
|
||||
-6:00 - CST 1981 Dec 26 2:00
|
||||
-5:00 - EST 1982 Nov 2 2:00
|
||||
-6:00 Mexico C%sT
|
||||
# Coahuila, Nuevo León, Tamaulipas (near US border)
|
||||
# This includes the following municipios:
|
||||
@@ -2642,12 +2699,15 @@ Zone America/Matamoros -6:30:00 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 US C%sT
|
||||
# Durango; Coahuila, Nuevo León, Tamaulipas (away from US border)
|
||||
Zone America/Monterrey -6:41:16 - LMT 1922 Jan 1 6:00u
|
||||
-7:00 - MST 1927 Jun 10
|
||||
-6:00 - CST 1930 Nov 15
|
||||
-7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1988
|
||||
-6:00 US C%sT 1989
|
||||
-6:00 Mexico C%sT
|
||||
# Central Mexico
|
||||
Zone America/Mexico_City -6:36:36 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-7:00 - MST 1927 Jun 10
|
||||
-6:00 - CST 1930 Nov 15
|
||||
-7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 Mexico C%sT 2001 Sep 30 2:00
|
||||
@@ -2658,7 +2718,7 @@ Zone America/Mexico_City -6:36:36 - LMT 1922 Jan 1 7:00u
|
||||
# Práxedis G Guerrero.
|
||||
# http://gaceta.diputados.gob.mx/PDF/65/2a022/nov/20221124-VII.pdf
|
||||
Zone America/Ciudad_Juarez -7:05:56 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-7:00 - MST 1927 Jun 10
|
||||
-6:00 - CST 1930 Nov 15
|
||||
-7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1996
|
||||
@@ -2673,7 +2733,7 @@ Zone America/Ciudad_Juarez -7:05:56 - LMT 1922 Jan 1 7:00u
|
||||
# Benavides.
|
||||
# http://gaceta.diputados.gob.mx/PDF/65/2a022/nov/20221124-VII.pdf
|
||||
Zone America/Ojinaga -6:57:40 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-7:00 - MST 1927 Jun 10
|
||||
-6:00 - CST 1930 Nov 15
|
||||
-7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1996
|
||||
@@ -2685,7 +2745,7 @@ Zone America/Ojinaga -6:57:40 - LMT 1922 Jan 1 7:00u
|
||||
-6:00 US C%sT
|
||||
# Chihuahua (away from US border)
|
||||
Zone America/Chihuahua -7:04:20 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-7:00 - MST 1927 Jun 10
|
||||
-6:00 - CST 1930 Nov 15
|
||||
-7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1996
|
||||
@@ -2695,23 +2755,21 @@ Zone America/Chihuahua -7:04:20 - LMT 1922 Jan 1 7:00u
|
||||
-6:00 - CST
|
||||
# Sonora
|
||||
Zone America/Hermosillo -7:23:52 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-7:00 - MST 1927 Jun 10
|
||||
-6:00 - CST 1930 Nov 15
|
||||
-7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1942 Apr 24
|
||||
-7:00 - MST 1949 Jan 14
|
||||
-8:00 - PST 1970
|
||||
-7:00 - MST 1996
|
||||
-7:00 Mexico M%sT 1999
|
||||
-7:00 - MST
|
||||
|
||||
# Baja California Sur, Nayarit (except Bahía de Banderas), Sinaloa
|
||||
Zone America/Mazatlan -7:05:40 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-7:00 - MST 1927 Jun 10
|
||||
-6:00 - CST 1930 Nov 15
|
||||
-7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1942 Apr 24
|
||||
-7:00 - MST 1949 Jan 14
|
||||
-8:00 - PST 1970
|
||||
-7:00 - MST 1970
|
||||
-7:00 Mexico M%sT
|
||||
|
||||
# Bahía de Banderas
|
||||
@@ -2744,27 +2802,32 @@ Zone America/Mazatlan -7:05:40 - LMT 1922 Jan 1 7:00u
|
||||
# Use "Bahia_Banderas" to keep the name to fourteen characters.
|
||||
|
||||
Zone America/Bahia_Banderas -7:01:00 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-7:00 - MST 1927 Jun 10
|
||||
-6:00 - CST 1930 Nov 15
|
||||
-7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1942 Apr 24
|
||||
-7:00 - MST 1949 Jan 14
|
||||
-8:00 - PST 1970
|
||||
-7:00 - MST 1970
|
||||
-7:00 Mexico M%sT 2010 Apr 4 2:00
|
||||
-6:00 Mexico C%sT
|
||||
|
||||
# Baja California
|
||||
Zone America/Tijuana -7:48:04 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1924
|
||||
-8:00 - PST 1927 Jun 10 23:00
|
||||
-8:00 - PST 1927 Jun 10
|
||||
-7:00 - MST 1930 Nov 15
|
||||
-8:00 - PST 1931 Apr 1
|
||||
-8:00 1:00 PDT 1931 Sep 30
|
||||
-8:00 - PST 1942 Apr 24
|
||||
-8:00 1:00 PWT 1945 Aug 14 23:00u
|
||||
-8:00 1:00 PPT 1945 Nov 12 # Peace
|
||||
-8:00 1:00 PPT 1945 Nov 15 # Peace
|
||||
-8:00 - PST 1948 Apr 5
|
||||
-8:00 1:00 PDT 1949 Jan 14
|
||||
-8:00 - PST 1950 May 1
|
||||
-8:00 1:00 PDT 1950 Sep 24
|
||||
-8:00 - PST 1951 Apr 29 2:00
|
||||
-8:00 1:00 PDT 1951 Sep 30 2:00
|
||||
-8:00 - PST 1952 Apr 27 2:00
|
||||
-8:00 1:00 PDT 1952 Sep 28 2:00
|
||||
-8:00 - PST 1954
|
||||
-8:00 CA P%sT 1961
|
||||
-8:00 - PST 1976
|
||||
@@ -3573,8 +3636,8 @@ Zone America/Puerto_Rico -4:24:25 - LMT 1899 Mar 28 12:00 # San Juan
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/Miquelon -3:44:40 - LMT 1911 Jun 15 # St Pierre
|
||||
-4:00 - AST 1980 May
|
||||
-3:00 - -03 1987
|
||||
-3:00 Canada -03/-02
|
||||
-3:00 - %z 1987
|
||||
-3:00 Canada %z
|
||||
|
||||
# Turks and Caicos
|
||||
#
|
||||
|
||||
@@ -425,11 +425,11 @@ Rule Arg 2008 only - Oct Sun>=15 0:00 1:00 -
|
||||
Zone America/Argentina/Buenos_Aires -3:53:48 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May # Córdoba Mean Time
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 Arg -03/-02
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 Arg %z
|
||||
#
|
||||
# Córdoba (CB), Santa Fe (SF), Entre Ríos (ER), Corrientes (CN), Misiones (MN),
|
||||
# Chaco (CC), Formosa (FM), Santiago del Estero (SE)
|
||||
@@ -444,120 +444,120 @@ Zone America/Argentina/Buenos_Aires -3:53:48 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
Zone America/Argentina/Cordoba -4:16:48 - LMT 1894 Oct 31
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1991 Mar 3
|
||||
-4:00 - -04 1991 Oct 20
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 Arg -03/-02
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1991 Mar 3
|
||||
-4:00 - %z 1991 Oct 20
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 Arg %z
|
||||
#
|
||||
# Salta (SA), La Pampa (LP), Neuquén (NQ), Rio Negro (RN)
|
||||
Zone America/Argentina/Salta -4:21:40 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1991 Mar 3
|
||||
-4:00 - -04 1991 Oct 20
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 Arg -03/-02 2008 Oct 18
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1991 Mar 3
|
||||
-4:00 - %z 1991 Oct 20
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 Arg %z 2008 Oct 18
|
||||
-3:00 - %z
|
||||
#
|
||||
# Tucumán (TM)
|
||||
Zone America/Argentina/Tucuman -4:20:52 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1991 Mar 3
|
||||
-4:00 - -04 1991 Oct 20
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 - -03 2004 Jun 1
|
||||
-4:00 - -04 2004 Jun 13
|
||||
-3:00 Arg -03/-02
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1991 Mar 3
|
||||
-4:00 - %z 1991 Oct 20
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 - %z 2004 Jun 1
|
||||
-4:00 - %z 2004 Jun 13
|
||||
-3:00 Arg %z
|
||||
#
|
||||
# La Rioja (LR)
|
||||
Zone America/Argentina/La_Rioja -4:27:24 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1991 Mar 1
|
||||
-4:00 - -04 1991 May 7
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 - -03 2004 Jun 1
|
||||
-4:00 - -04 2004 Jun 20
|
||||
-3:00 Arg -03/-02 2008 Oct 18
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1991 Mar 1
|
||||
-4:00 - %z 1991 May 7
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 - %z 2004 Jun 1
|
||||
-4:00 - %z 2004 Jun 20
|
||||
-3:00 Arg %z 2008 Oct 18
|
||||
-3:00 - %z
|
||||
#
|
||||
# San Juan (SJ)
|
||||
Zone America/Argentina/San_Juan -4:34:04 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1991 Mar 1
|
||||
-4:00 - -04 1991 May 7
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 - -03 2004 May 31
|
||||
-4:00 - -04 2004 Jul 25
|
||||
-3:00 Arg -03/-02 2008 Oct 18
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1991 Mar 1
|
||||
-4:00 - %z 1991 May 7
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 - %z 2004 May 31
|
||||
-4:00 - %z 2004 Jul 25
|
||||
-3:00 Arg %z 2008 Oct 18
|
||||
-3:00 - %z
|
||||
#
|
||||
# Jujuy (JY)
|
||||
Zone America/Argentina/Jujuy -4:21:12 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1990 Mar 4
|
||||
-4:00 - -04 1990 Oct 28
|
||||
-4:00 1:00 -03 1991 Mar 17
|
||||
-4:00 - -04 1991 Oct 6
|
||||
-3:00 1:00 -02 1992
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 Arg -03/-02 2008 Oct 18
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1990 Mar 4
|
||||
-4:00 - %z 1990 Oct 28
|
||||
-4:00 1:00 %z 1991 Mar 17
|
||||
-4:00 - %z 1991 Oct 6
|
||||
-3:00 1:00 %z 1992
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 Arg %z 2008 Oct 18
|
||||
-3:00 - %z
|
||||
#
|
||||
# Catamarca (CT), Chubut (CH)
|
||||
Zone America/Argentina/Catamarca -4:23:08 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1991 Mar 3
|
||||
-4:00 - -04 1991 Oct 20
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 - -03 2004 Jun 1
|
||||
-4:00 - -04 2004 Jun 20
|
||||
-3:00 Arg -03/-02 2008 Oct 18
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1991 Mar 3
|
||||
-4:00 - %z 1991 Oct 20
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 - %z 2004 Jun 1
|
||||
-4:00 - %z 2004 Jun 20
|
||||
-3:00 Arg %z 2008 Oct 18
|
||||
-3:00 - %z
|
||||
#
|
||||
# Mendoza (MZ)
|
||||
Zone America/Argentina/Mendoza -4:35:16 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1990 Mar 4
|
||||
-4:00 - -04 1990 Oct 15
|
||||
-4:00 1:00 -03 1991 Mar 1
|
||||
-4:00 - -04 1991 Oct 15
|
||||
-4:00 1:00 -03 1992 Mar 1
|
||||
-4:00 - -04 1992 Oct 18
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 - -03 2004 May 23
|
||||
-4:00 - -04 2004 Sep 26
|
||||
-3:00 Arg -03/-02 2008 Oct 18
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1990 Mar 4
|
||||
-4:00 - %z 1990 Oct 15
|
||||
-4:00 1:00 %z 1991 Mar 1
|
||||
-4:00 - %z 1991 Oct 15
|
||||
-4:00 1:00 %z 1992 Mar 1
|
||||
-4:00 - %z 1992 Oct 18
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 - %z 2004 May 23
|
||||
-4:00 - %z 2004 Sep 26
|
||||
-3:00 Arg %z 2008 Oct 18
|
||||
-3:00 - %z
|
||||
#
|
||||
# San Luis (SL)
|
||||
|
||||
@@ -567,53 +567,53 @@ Rule SanLuis 2007 2008 - Oct Sun>=8 0:00 1:00 -
|
||||
Zone America/Argentina/San_Luis -4:25:24 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1990
|
||||
-3:00 1:00 -02 1990 Mar 14
|
||||
-4:00 - -04 1990 Oct 15
|
||||
-4:00 1:00 -03 1991 Mar 1
|
||||
-4:00 - -04 1991 Jun 1
|
||||
-3:00 - -03 1999 Oct 3
|
||||
-4:00 1:00 -03 2000 Mar 3
|
||||
-3:00 - -03 2004 May 31
|
||||
-4:00 - -04 2004 Jul 25
|
||||
-3:00 Arg -03/-02 2008 Jan 21
|
||||
-4:00 SanLuis -04/-03 2009 Oct 11
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1990
|
||||
-3:00 1:00 %z 1990 Mar 14
|
||||
-4:00 - %z 1990 Oct 15
|
||||
-4:00 1:00 %z 1991 Mar 1
|
||||
-4:00 - %z 1991 Jun 1
|
||||
-3:00 - %z 1999 Oct 3
|
||||
-4:00 1:00 %z 2000 Mar 3
|
||||
-3:00 - %z 2004 May 31
|
||||
-4:00 - %z 2004 Jul 25
|
||||
-3:00 Arg %z 2008 Jan 21
|
||||
-4:00 SanLuis %z 2009 Oct 11
|
||||
-3:00 - %z
|
||||
#
|
||||
# Santa Cruz (SC)
|
||||
Zone America/Argentina/Rio_Gallegos -4:36:52 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 - -03 2004 Jun 1
|
||||
-4:00 - -04 2004 Jun 20
|
||||
-3:00 Arg -03/-02 2008 Oct 18
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 - %z 2004 Jun 1
|
||||
-4:00 - %z 2004 Jun 20
|
||||
-3:00 Arg %z 2008 Oct 18
|
||||
-3:00 - %z
|
||||
#
|
||||
# Tierra del Fuego, Antártida e Islas del Atlántico Sur (TF)
|
||||
Zone America/Argentina/Ushuaia -4:33:12 - LMT 1894 Oct 31
|
||||
#STDOFF -4:16:48.25
|
||||
-4:16:48 - CMT 1920 May
|
||||
-4:00 - -04 1930 Dec
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1999 Oct 3
|
||||
-4:00 Arg -04/-03 2000 Mar 3
|
||||
-3:00 - -03 2004 May 30
|
||||
-4:00 - -04 2004 Jun 20
|
||||
-3:00 Arg -03/-02 2008 Oct 18
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1930 Dec
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1999 Oct 3
|
||||
-4:00 Arg %z 2000 Mar 3
|
||||
-3:00 - %z 2004 May 30
|
||||
-4:00 - %z 2004 Jun 20
|
||||
-3:00 Arg %z 2008 Oct 18
|
||||
-3:00 - %z
|
||||
|
||||
# Bolivia
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/La_Paz -4:32:36 - LMT 1890
|
||||
-4:32:36 - CMT 1931 Oct 15 # Calamarca MT
|
||||
-4:32:36 1:00 BST 1932 Mar 21 # Bolivia ST
|
||||
-4:00 - -04
|
||||
-4:00 - %z
|
||||
|
||||
# Brazil
|
||||
|
||||
@@ -984,12 +984,12 @@ Rule Brazil 2018 only - Nov Sun>=1 0:00 1:00 -
|
||||
#
|
||||
# Fernando de Noronha (administratively part of PE)
|
||||
Zone America/Noronha -2:09:40 - LMT 1914
|
||||
-2:00 Brazil -02/-01 1990 Sep 17
|
||||
-2:00 - -02 1999 Sep 30
|
||||
-2:00 Brazil -02/-01 2000 Oct 15
|
||||
-2:00 - -02 2001 Sep 13
|
||||
-2:00 Brazil -02/-01 2002 Oct 1
|
||||
-2:00 - -02
|
||||
-2:00 Brazil %z 1990 Sep 17
|
||||
-2:00 - %z 1999 Sep 30
|
||||
-2:00 Brazil %z 2000 Oct 15
|
||||
-2:00 - %z 2001 Sep 13
|
||||
-2:00 Brazil %z 2002 Oct 1
|
||||
-2:00 - %z
|
||||
# Other Atlantic islands have no permanent settlement.
|
||||
# These include Trindade and Martim Vaz (administratively part of ES),
|
||||
# Rocas Atoll (RN), and the St Peter and St Paul Archipelago (PE).
|
||||
@@ -1002,119 +1002,119 @@ Zone America/Noronha -2:09:40 - LMT 1914
|
||||
# In the north a very small part from the river Javary (now Jari I guess,
|
||||
# the border with Amapá) to the Amazon, then to the Xingu.
|
||||
Zone America/Belem -3:13:56 - LMT 1914
|
||||
-3:00 Brazil -03/-02 1988 Sep 12
|
||||
-3:00 - -03
|
||||
-3:00 Brazil %z 1988 Sep 12
|
||||
-3:00 - %z
|
||||
#
|
||||
# west Pará (PA)
|
||||
# West Pará includes Altamira, Óbidos, Prainha, Oriximiná, and Santarém.
|
||||
Zone America/Santarem -3:38:48 - LMT 1914
|
||||
-4:00 Brazil -04/-03 1988 Sep 12
|
||||
-4:00 - -04 2008 Jun 24 0:00
|
||||
-3:00 - -03
|
||||
-4:00 Brazil %z 1988 Sep 12
|
||||
-4:00 - %z 2008 Jun 24 0:00
|
||||
-3:00 - %z
|
||||
#
|
||||
# Maranhão (MA), Piauí (PI), Ceará (CE), Rio Grande do Norte (RN),
|
||||
# Paraíba (PB)
|
||||
Zone America/Fortaleza -2:34:00 - LMT 1914
|
||||
-3:00 Brazil -03/-02 1990 Sep 17
|
||||
-3:00 - -03 1999 Sep 30
|
||||
-3:00 Brazil -03/-02 2000 Oct 22
|
||||
-3:00 - -03 2001 Sep 13
|
||||
-3:00 Brazil -03/-02 2002 Oct 1
|
||||
-3:00 - -03
|
||||
-3:00 Brazil %z 1990 Sep 17
|
||||
-3:00 - %z 1999 Sep 30
|
||||
-3:00 Brazil %z 2000 Oct 22
|
||||
-3:00 - %z 2001 Sep 13
|
||||
-3:00 Brazil %z 2002 Oct 1
|
||||
-3:00 - %z
|
||||
#
|
||||
# Pernambuco (PE) (except Atlantic islands)
|
||||
Zone America/Recife -2:19:36 - LMT 1914
|
||||
-3:00 Brazil -03/-02 1990 Sep 17
|
||||
-3:00 - -03 1999 Sep 30
|
||||
-3:00 Brazil -03/-02 2000 Oct 15
|
||||
-3:00 - -03 2001 Sep 13
|
||||
-3:00 Brazil -03/-02 2002 Oct 1
|
||||
-3:00 - -03
|
||||
-3:00 Brazil %z 1990 Sep 17
|
||||
-3:00 - %z 1999 Sep 30
|
||||
-3:00 Brazil %z 2000 Oct 15
|
||||
-3:00 - %z 2001 Sep 13
|
||||
-3:00 Brazil %z 2002 Oct 1
|
||||
-3:00 - %z
|
||||
#
|
||||
# Tocantins (TO)
|
||||
Zone America/Araguaina -3:12:48 - LMT 1914
|
||||
-3:00 Brazil -03/-02 1990 Sep 17
|
||||
-3:00 - -03 1995 Sep 14
|
||||
-3:00 Brazil -03/-02 2003 Sep 24
|
||||
-3:00 - -03 2012 Oct 21
|
||||
-3:00 Brazil -03/-02 2013 Sep
|
||||
-3:00 - -03
|
||||
-3:00 Brazil %z 1990 Sep 17
|
||||
-3:00 - %z 1995 Sep 14
|
||||
-3:00 Brazil %z 2003 Sep 24
|
||||
-3:00 - %z 2012 Oct 21
|
||||
-3:00 Brazil %z 2013 Sep
|
||||
-3:00 - %z
|
||||
#
|
||||
# Alagoas (AL), Sergipe (SE)
|
||||
Zone America/Maceio -2:22:52 - LMT 1914
|
||||
-3:00 Brazil -03/-02 1990 Sep 17
|
||||
-3:00 - -03 1995 Oct 13
|
||||
-3:00 Brazil -03/-02 1996 Sep 4
|
||||
-3:00 - -03 1999 Sep 30
|
||||
-3:00 Brazil -03/-02 2000 Oct 22
|
||||
-3:00 - -03 2001 Sep 13
|
||||
-3:00 Brazil -03/-02 2002 Oct 1
|
||||
-3:00 - -03
|
||||
-3:00 Brazil %z 1990 Sep 17
|
||||
-3:00 - %z 1995 Oct 13
|
||||
-3:00 Brazil %z 1996 Sep 4
|
||||
-3:00 - %z 1999 Sep 30
|
||||
-3:00 Brazil %z 2000 Oct 22
|
||||
-3:00 - %z 2001 Sep 13
|
||||
-3:00 Brazil %z 2002 Oct 1
|
||||
-3:00 - %z
|
||||
#
|
||||
# Bahia (BA)
|
||||
# There are too many Salvadors elsewhere, so use America/Bahia instead
|
||||
# of America/Salvador.
|
||||
Zone America/Bahia -2:34:04 - LMT 1914
|
||||
-3:00 Brazil -03/-02 2003 Sep 24
|
||||
-3:00 - -03 2011 Oct 16
|
||||
-3:00 Brazil -03/-02 2012 Oct 21
|
||||
-3:00 - -03
|
||||
-3:00 Brazil %z 2003 Sep 24
|
||||
-3:00 - %z 2011 Oct 16
|
||||
-3:00 Brazil %z 2012 Oct 21
|
||||
-3:00 - %z
|
||||
#
|
||||
# Goiás (GO), Distrito Federal (DF), Minas Gerais (MG),
|
||||
# Espírito Santo (ES), Rio de Janeiro (RJ), São Paulo (SP), Paraná (PR),
|
||||
# Santa Catarina (SC), Rio Grande do Sul (RS)
|
||||
Zone America/Sao_Paulo -3:06:28 - LMT 1914
|
||||
-3:00 Brazil -03/-02 1963 Oct 23 0:00
|
||||
-3:00 1:00 -02 1964
|
||||
-3:00 Brazil -03/-02
|
||||
-3:00 Brazil %z 1963 Oct 23 0:00
|
||||
-3:00 1:00 %z 1964
|
||||
-3:00 Brazil %z
|
||||
#
|
||||
# Mato Grosso do Sul (MS)
|
||||
Zone America/Campo_Grande -3:38:28 - LMT 1914
|
||||
-4:00 Brazil -04/-03
|
||||
-4:00 Brazil %z
|
||||
#
|
||||
# Mato Grosso (MT)
|
||||
Zone America/Cuiaba -3:44:20 - LMT 1914
|
||||
-4:00 Brazil -04/-03 2003 Sep 24
|
||||
-4:00 - -04 2004 Oct 1
|
||||
-4:00 Brazil -04/-03
|
||||
-4:00 Brazil %z 2003 Sep 24
|
||||
-4:00 - %z 2004 Oct 1
|
||||
-4:00 Brazil %z
|
||||
#
|
||||
# Rondônia (RO)
|
||||
Zone America/Porto_Velho -4:15:36 - LMT 1914
|
||||
-4:00 Brazil -04/-03 1988 Sep 12
|
||||
-4:00 - -04
|
||||
-4:00 Brazil %z 1988 Sep 12
|
||||
-4:00 - %z
|
||||
#
|
||||
# Roraima (RR)
|
||||
Zone America/Boa_Vista -4:02:40 - LMT 1914
|
||||
-4:00 Brazil -04/-03 1988 Sep 12
|
||||
-4:00 - -04 1999 Sep 30
|
||||
-4:00 Brazil -04/-03 2000 Oct 15
|
||||
-4:00 - -04
|
||||
-4:00 Brazil %z 1988 Sep 12
|
||||
-4:00 - %z 1999 Sep 30
|
||||
-4:00 Brazil %z 2000 Oct 15
|
||||
-4:00 - %z
|
||||
#
|
||||
# east Amazonas (AM): Boca do Acre, Jutaí, Manaus, Floriano Peixoto
|
||||
# The great circle line from Tabatinga to Porto Acre divides
|
||||
# east from west Amazonas.
|
||||
Zone America/Manaus -4:00:04 - LMT 1914
|
||||
-4:00 Brazil -04/-03 1988 Sep 12
|
||||
-4:00 - -04 1993 Sep 28
|
||||
-4:00 Brazil -04/-03 1994 Sep 22
|
||||
-4:00 - -04
|
||||
-4:00 Brazil %z 1988 Sep 12
|
||||
-4:00 - %z 1993 Sep 28
|
||||
-4:00 Brazil %z 1994 Sep 22
|
||||
-4:00 - %z
|
||||
#
|
||||
# west Amazonas (AM): Atalaia do Norte, Boca do Maoco, Benjamin Constant,
|
||||
# Eirunepé, Envira, Ipixuna
|
||||
Zone America/Eirunepe -4:39:28 - LMT 1914
|
||||
-5:00 Brazil -05/-04 1988 Sep 12
|
||||
-5:00 - -05 1993 Sep 28
|
||||
-5:00 Brazil -05/-04 1994 Sep 22
|
||||
-5:00 - -05 2008 Jun 24 0:00
|
||||
-4:00 - -04 2013 Nov 10
|
||||
-5:00 - -05
|
||||
-5:00 Brazil %z 1988 Sep 12
|
||||
-5:00 - %z 1993 Sep 28
|
||||
-5:00 Brazil %z 1994 Sep 22
|
||||
-5:00 - %z 2008 Jun 24 0:00
|
||||
-4:00 - %z 2013 Nov 10
|
||||
-5:00 - %z
|
||||
#
|
||||
# Acre (AC)
|
||||
Zone America/Rio_Branco -4:31:12 - LMT 1914
|
||||
-5:00 Brazil -05/-04 1988 Sep 12
|
||||
-5:00 - -05 2008 Jun 24 0:00
|
||||
-4:00 - -04 2013 Nov 10
|
||||
-5:00 - -05
|
||||
-5:00 Brazil %z 1988 Sep 12
|
||||
-5:00 - %z 2008 Jun 24 0:00
|
||||
-4:00 - %z 2013 Nov 10
|
||||
-5:00 - %z
|
||||
|
||||
# Chile
|
||||
|
||||
@@ -1382,36 +1382,36 @@ Rule Chile 2023 max - Sep Sun>=2 4:00u 1:00 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/Santiago -4:42:45 - LMT 1890
|
||||
-4:42:45 - SMT 1910 Jan 10 # Santiago Mean Time
|
||||
-5:00 - -05 1916 Jul 1
|
||||
-5:00 - %z 1916 Jul 1
|
||||
-4:42:45 - SMT 1918 Sep 10
|
||||
-4:00 - -04 1919 Jul 1
|
||||
-4:00 - %z 1919 Jul 1
|
||||
-4:42:45 - SMT 1927 Sep 1
|
||||
-5:00 Chile -05/-04 1932 Sep 1
|
||||
-4:00 - -04 1942 Jun 1
|
||||
-5:00 - -05 1942 Aug 1
|
||||
-4:00 - -04 1946 Jul 14 24:00
|
||||
-4:00 1:00 -03 1946 Aug 28 24:00 # central CL
|
||||
-5:00 1:00 -04 1947 Mar 31 24:00
|
||||
-5:00 - -05 1947 May 21 23:00
|
||||
-4:00 Chile -04/-03
|
||||
-5:00 Chile %z 1932 Sep 1
|
||||
-4:00 - %z 1942 Jun 1
|
||||
-5:00 - %z 1942 Aug 1
|
||||
-4:00 - %z 1946 Jul 14 24:00
|
||||
-4:00 1:00 %z 1946 Aug 28 24:00 # central CL
|
||||
-5:00 1:00 %z 1947 Mar 31 24:00
|
||||
-5:00 - %z 1947 May 21 23:00
|
||||
-4:00 Chile %z
|
||||
Zone America/Punta_Arenas -4:43:40 - LMT 1890
|
||||
-4:42:45 - SMT 1910 Jan 10
|
||||
-5:00 - -05 1916 Jul 1
|
||||
-5:00 - %z 1916 Jul 1
|
||||
-4:42:45 - SMT 1918 Sep 10
|
||||
-4:00 - -04 1919 Jul 1
|
||||
-4:00 - %z 1919 Jul 1
|
||||
-4:42:45 - SMT 1927 Sep 1
|
||||
-5:00 Chile -05/-04 1932 Sep 1
|
||||
-4:00 - -04 1942 Jun 1
|
||||
-5:00 - -05 1942 Aug 1
|
||||
-4:00 - -04 1946 Aug 28 24:00
|
||||
-5:00 1:00 -04 1947 Mar 31 24:00
|
||||
-5:00 - -05 1947 May 21 23:00
|
||||
-4:00 Chile -04/-03 2016 Dec 4
|
||||
-3:00 - -03
|
||||
-5:00 Chile %z 1932 Sep 1
|
||||
-4:00 - %z 1942 Jun 1
|
||||
-5:00 - %z 1942 Aug 1
|
||||
-4:00 - %z 1946 Aug 28 24:00
|
||||
-5:00 1:00 %z 1947 Mar 31 24:00
|
||||
-5:00 - %z 1947 May 21 23:00
|
||||
-4:00 Chile %z 2016 Dec 4
|
||||
-3:00 - %z
|
||||
Zone Pacific/Easter -7:17:28 - LMT 1890
|
||||
-7:17:28 - EMT 1932 Sep # Easter Mean Time
|
||||
-7:00 Chile -07/-06 1982 Mar 14 3:00u # Easter Time
|
||||
-6:00 Chile -06/-05
|
||||
-7:00 Chile %z 1982 Mar 14 3:00u # Easter Time
|
||||
-6:00 Chile %z
|
||||
#
|
||||
# Salas y Gómez Island is uninhabited.
|
||||
# Other Chilean locations, including Juan Fernández Is, Desventuradas Is,
|
||||
@@ -1431,10 +1431,10 @@ Zone Pacific/Easter -7:17:28 - LMT 1890
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Antarctica/Palmer 0 - -00 1965
|
||||
-4:00 Arg -04/-03 1969 Oct 5
|
||||
-3:00 Arg -03/-02 1982 May
|
||||
-4:00 Chile -04/-03 2016 Dec 4
|
||||
-3:00 - -03
|
||||
-4:00 Arg %z 1969 Oct 5
|
||||
-3:00 Arg %z 1982 May
|
||||
-4:00 Chile %z 2016 Dec 4
|
||||
-3:00 - %z
|
||||
|
||||
# Colombia
|
||||
|
||||
@@ -1453,7 +1453,7 @@ Rule CO 1993 only - Feb 6 24:00 0 -
|
||||
#STDOFF -4:56:16.4
|
||||
Zone America/Bogota -4:56:16 - LMT 1884 Mar 13
|
||||
-4:56:16 - BMT 1914 Nov 23 # Bogotá Mean Time
|
||||
-5:00 CO -05/-04
|
||||
-5:00 CO %z
|
||||
# Malpelo, Providencia, San Andres
|
||||
# no information; probably like America/Bogota
|
||||
|
||||
@@ -1484,10 +1484,10 @@ Rule Ecuador 1993 only - Feb 5 0:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/Guayaquil -5:19:20 - LMT 1890
|
||||
-5:14:00 - QMT 1931 # Quito Mean Time
|
||||
-5:00 Ecuador -05/-04
|
||||
-5:00 Ecuador %z
|
||||
Zone Pacific/Galapagos -5:58:24 - LMT 1931 # Puerto Baquerizo Moreno
|
||||
-5:00 - -05 1986
|
||||
-6:00 Ecuador -06/-05
|
||||
-5:00 - %z 1986
|
||||
-6:00 Ecuador %z
|
||||
|
||||
# Falklands
|
||||
|
||||
@@ -1587,10 +1587,10 @@ Rule Falk 2001 2010 - Sep Sun>=1 2:00 1:00 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Atlantic/Stanley -3:51:24 - LMT 1890
|
||||
-3:51:24 - SMT 1912 Mar 12 # Stanley Mean Time
|
||||
-4:00 Falk -04/-03 1983 May
|
||||
-3:00 Falk -03/-02 1985 Sep 15
|
||||
-4:00 Falk -04/-03 2010 Sep 5 2:00
|
||||
-3:00 - -03
|
||||
-4:00 Falk %z 1983 May
|
||||
-3:00 Falk %z 1985 Sep 15
|
||||
-4:00 Falk %z 2010 Sep 5 2:00
|
||||
-3:00 - %z
|
||||
|
||||
# French Guiana
|
||||
# For the 1911/1912 establishment of standard time in French possessions, see:
|
||||
@@ -1598,8 +1598,8 @@ Zone Atlantic/Stanley -3:51:24 - LMT 1890
|
||||
# page 752, 18b.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/Cayenne -3:29:20 - LMT 1911 Jul 1
|
||||
-4:00 - -04 1967 Oct
|
||||
-3:00 - -03
|
||||
-4:00 - %z 1967 Oct
|
||||
-3:00 - %z
|
||||
|
||||
# Guyana
|
||||
|
||||
@@ -1633,10 +1633,10 @@ Zone America/Cayenne -3:29:20 - LMT 1911 Jul 1
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/Guyana -3:52:39 - LMT 1911 Aug 1 # Georgetown
|
||||
-4:00 - -04 1915 Mar 1
|
||||
-3:45 - -0345 1975 Aug 1
|
||||
-3:00 - -03 1992 Mar 29 1:00
|
||||
-4:00 - -04
|
||||
-4:00 - %z 1915 Mar 1
|
||||
-3:45 - %z 1975 Aug 1
|
||||
-3:00 - %z 1992 Mar 29 1:00
|
||||
-4:00 - %z
|
||||
|
||||
# Paraguay
|
||||
#
|
||||
@@ -1734,9 +1734,9 @@ Rule Para 2013 max - Mar Sun>=22 0:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/Asuncion -3:50:40 - LMT 1890
|
||||
-3:50:40 - AMT 1931 Oct 10 # Asunción Mean Time
|
||||
-4:00 - -04 1972 Oct
|
||||
-3:00 - -03 1974 Apr
|
||||
-4:00 Para -04/-03
|
||||
-4:00 - %z 1972 Oct
|
||||
-3:00 - %z 1974 Apr
|
||||
-4:00 Para %z
|
||||
|
||||
# Peru
|
||||
#
|
||||
@@ -1763,12 +1763,12 @@ Rule Peru 1994 only - Apr 1 0:00 0 -
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/Lima -5:08:12 - LMT 1890
|
||||
-5:08:36 - LMT 1908 Jul 28 # Lima Mean Time?
|
||||
-5:00 Peru -05/-04
|
||||
-5:00 Peru %z
|
||||
|
||||
# South Georgia
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Atlantic/South_Georgia -2:26:08 - LMT 1890 # Grytviken
|
||||
-2:00 - -02
|
||||
-2:00 - %z
|
||||
|
||||
# South Sandwich Is
|
||||
# uninhabited; scientific personnel have wintered
|
||||
@@ -1778,8 +1778,8 @@ Zone Atlantic/South_Georgia -2:26:08 - LMT 1890 # Grytviken
|
||||
Zone America/Paramaribo -3:40:40 - LMT 1911
|
||||
-3:40:52 - PMT 1935 # Paramaribo Mean Time
|
||||
-3:40:36 - PMT 1945 Oct # The capital moved?
|
||||
-3:30 - -0330 1984 Oct
|
||||
-3:00 - -03
|
||||
-3:30 - %z 1984 Oct
|
||||
-3:00 - %z
|
||||
|
||||
# Uruguay
|
||||
# From Paul Eggert (1993-11-18):
|
||||
@@ -1994,15 +1994,15 @@ Rule Uruguay 2006 2014 - Oct Sun>=1 2:00 1:00 -
|
||||
# This Zone can be simplified once we assume zic %z.
|
||||
Zone America/Montevideo -3:44:51 - LMT 1908 Jun 10
|
||||
-3:44:51 - MMT 1920 May 1 # Montevideo MT
|
||||
-4:00 - -04 1923 Oct 1
|
||||
-3:30 Uruguay -0330/-03 1942 Dec 14
|
||||
-3:00 Uruguay -03/-0230 1960
|
||||
-3:00 Uruguay -03/-02 1968
|
||||
-3:00 Uruguay -03/-0230 1970
|
||||
-3:00 Uruguay -03/-02 1974
|
||||
-3:00 Uruguay -03/-0130 1974 Mar 10
|
||||
-3:00 Uruguay -03/-0230 1974 Dec 22
|
||||
-3:00 Uruguay -03/-02
|
||||
-4:00 - %z 1923 Oct 1
|
||||
-3:30 Uruguay %z 1942 Dec 14
|
||||
-3:00 Uruguay %z 1960
|
||||
-3:00 Uruguay %z 1968
|
||||
-3:00 Uruguay %z 1970
|
||||
-3:00 Uruguay %z 1974
|
||||
-3:00 Uruguay %z 1974 Mar 10
|
||||
-3:00 Uruguay %z 1974 Dec 22
|
||||
-3:00 Uruguay %z
|
||||
|
||||
# Venezuela
|
||||
#
|
||||
@@ -2036,7 +2036,7 @@ Zone America/Montevideo -3:44:51 - LMT 1908 Jun 10
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone America/Caracas -4:27:44 - LMT 1890
|
||||
-4:27:40 - CMT 1912 Feb 12 # Caracas Mean Time?
|
||||
-4:30 - -0430 1965 Jan 1 0:00
|
||||
-4:00 - -04 2007 Dec 9 3:00
|
||||
-4:30 - -0430 2016 May 1 2:30
|
||||
-4:00 - -04
|
||||
-4:30 - %z 1965 Jan 1 0:00
|
||||
-4:00 - %z 2007 Dec 9 3:00
|
||||
-4:30 - %z 2016 May 1 2:30
|
||||
-4:00 - %z
|
||||
|
||||
@@ -287,8 +287,7 @@ MK +4159+02126 Europe/Skopje
|
||||
ML +1239-00800 Africa/Bamako
|
||||
MM +1647+09610 Asia/Yangon
|
||||
MN +4755+10653 Asia/Ulaanbaatar most of Mongolia
|
||||
MN +4801+09139 Asia/Hovd Bayan-Olgiy, Govi-Altai, Hovd, Uvs, Zavkhan
|
||||
MN +4804+11430 Asia/Choibalsan Dornod, Sukhbaatar
|
||||
MN +4801+09139 Asia/Hovd Bayan-Olgii, Hovd, Uvs
|
||||
MO +221150+1133230 Asia/Macau
|
||||
MP +1512+14545 Pacific/Saipan
|
||||
MQ +1436-06105 America/Martinique
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@@ -273,7 +273,7 @@ public final class TzdbZoneRulesCompiler {
|
||||
// link version-region-rules
|
||||
out.writeShort(builtZones.size());
|
||||
for (Map.Entry<String, ZoneRules> entry : builtZones.entrySet()) {
|
||||
int regionIndex = Arrays.binarySearch(regionArray, entry.getKey());
|
||||
int regionIndex = findRegionIndex(regionArray, entry.getKey());
|
||||
int rulesIndex = rulesList.indexOf(entry.getValue());
|
||||
out.writeShort(regionIndex);
|
||||
out.writeShort(rulesIndex);
|
||||
@@ -281,8 +281,8 @@ public final class TzdbZoneRulesCompiler {
|
||||
// alias-region
|
||||
out.writeShort(links.size());
|
||||
for (Map.Entry<String, String> entry : links.entrySet()) {
|
||||
int aliasIndex = Arrays.binarySearch(regionArray, entry.getKey());
|
||||
int regionIndex = Arrays.binarySearch(regionArray, entry.getValue());
|
||||
int aliasIndex = findRegionIndex(regionArray, entry.getKey());
|
||||
int regionIndex = findRegionIndex(regionArray, entry.getValue());
|
||||
out.writeShort(aliasIndex);
|
||||
out.writeShort(regionIndex);
|
||||
}
|
||||
@@ -294,6 +294,14 @@ public final class TzdbZoneRulesCompiler {
|
||||
}
|
||||
}
|
||||
|
||||
private static int findRegionIndex(String[] regionArray, String region) {
|
||||
int index = Arrays.binarySearch(regionArray, region);
|
||||
if (index < 0) {
|
||||
throw new IllegalArgumentException("Unknown region: " + region);
|
||||
}
|
||||
return index;
|
||||
}
|
||||
|
||||
/** Whether to output verbose messages. */
|
||||
private boolean verbose;
|
||||
|
||||
|
||||
@@ -163,7 +163,8 @@ class TzdbZoneRulesProvider {
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (line.startsWith("Zone")) { // parse Zone line
|
||||
int token0len = tokens.length > 0 ? tokens[0].length() : line.length();
|
||||
if (line.regionMatches(true, 0, "Zone", 0, token0len)) { // parse Zone line
|
||||
String name = tokens[1];
|
||||
if (excludedZones.contains(name)){
|
||||
continue;
|
||||
@@ -181,13 +182,13 @@ class TzdbZoneRulesProvider {
|
||||
if (zLine.parse(tokens, 2)) {
|
||||
openZone = null;
|
||||
}
|
||||
} else if (line.startsWith("Rule")) { // parse Rule line
|
||||
} else if (line.regionMatches(true, 0, "Rule", 0, token0len)) { // parse Rule line
|
||||
String name = tokens[1];
|
||||
if (!rules.containsKey(name)) {
|
||||
rules.put(name, new ArrayList<RuleLine>(10));
|
||||
}
|
||||
rules.get(name).add(new RuleLine().parse(tokens));
|
||||
} else if (line.startsWith("Link")) { // parse link line
|
||||
} else if (line.regionMatches(true, 0, "Link", 0, token0len)) { // parse link line
|
||||
if (tokens.length >= 3) {
|
||||
String realId = tokens[1];
|
||||
String aliasId = tokens[2];
|
||||
@@ -303,7 +304,7 @@ class TzdbZoneRulesProvider {
|
||||
month = parseMonth(tokens[off++]);
|
||||
if (off < tokens.length) {
|
||||
String dayRule = tokens[off++];
|
||||
if (dayRule.startsWith("last")) {
|
||||
if (dayRule.regionMatches(true, 0, "last", 0, 4)) {
|
||||
dayOfMonth = -1;
|
||||
dayOfWeek = parseDayOfWeek(dayRule.substring(4));
|
||||
adjustForwards = false;
|
||||
@@ -354,11 +355,12 @@ class TzdbZoneRulesProvider {
|
||||
}
|
||||
|
||||
int parseYear(String year, int defaultYear) {
|
||||
switch (year.toLowerCase()) {
|
||||
case "min": return 1900;
|
||||
case "max": return Year.MAX_VALUE;
|
||||
case "only": return defaultYear;
|
||||
}
|
||||
int len = year.length();
|
||||
|
||||
if (year.regionMatches(true, 0, "minimum", 0, len)) return 1900;
|
||||
if (year.regionMatches(true, 0, "maximum", 0, len)) return Year.MAX_VALUE;
|
||||
if (year.regionMatches(true, 0, "only", 0, len)) return defaultYear;
|
||||
|
||||
return Integer.parseInt(year);
|
||||
}
|
||||
|
||||
|
||||
@@ -225,9 +225,9 @@ void CgroupV1Subsystem::print_version_specific_info(outputStream* st) {
|
||||
jlong kmem_limit = kernel_memory_limit_in_bytes();
|
||||
jlong kmem_max_usage = kernel_memory_max_usage_in_bytes();
|
||||
|
||||
OSContainer::print_container_helper(st, kmem_limit, "kernel_memory_limit_in_bytes");
|
||||
OSContainer::print_container_helper(st, kmem_usage, "kernel_memory_usage_in_bytes");
|
||||
OSContainer::print_container_helper(st, kmem_limit, "kernel_memory_max_usage_in_bytes");
|
||||
OSContainer::print_container_helper(st, kmem_max_usage, "kernel_memory_limit_in_bytes");
|
||||
OSContainer::print_container_helper(st, kmem_max_usage, "kernel_memory_max_usage_in_bytes");
|
||||
}
|
||||
|
||||
char * CgroupV1Subsystem::cpu_cpuset_cpus() {
|
||||
|
||||
@@ -1741,7 +1741,10 @@ void os::win32::print_windows_version(outputStream* st) {
|
||||
// - 2016 GA 10/2016 build: 14393
|
||||
// - 2019 GA 11/2018 build: 17763
|
||||
// - 2022 GA 08/2021 build: 20348
|
||||
if (build_number > 20347) {
|
||||
// - 2025 Preview build : 26040
|
||||
if (build_number > 26039) {
|
||||
st->print("Server 2025");
|
||||
} else if (build_number > 20347) {
|
||||
st->print("Server 2022");
|
||||
} else if (build_number > 17762) {
|
||||
st->print("Server 2019");
|
||||
|
||||
@@ -614,6 +614,21 @@ void ClassLoaderData::unload() {
|
||||
// after erroneous classes are released.
|
||||
classes_do(InstanceKlass::notify_unload_class);
|
||||
|
||||
// Method::clear_jmethod_ids only sets the jmethod_ids to NULL without
|
||||
// releasing the memory for related JNIMethodBlocks and JNIMethodBlockNodes.
|
||||
// This is done intentionally because native code (e.g. JVMTI agent) holding
|
||||
// jmethod_ids may access them after the associated classes and class loader
|
||||
// are unloaded. The Java Native Interface Specification says "method ID
|
||||
// does not prevent the VM from unloading the class from which the ID has
|
||||
// been derived. After the class is unloaded, the method or field ID becomes
|
||||
// invalid". In real world usages, the native code may rely on jmethod_ids
|
||||
// being NULL after class unloading. Hence, it is unsafe to free the memory
|
||||
// from the VM side without knowing when native code is going to stop using
|
||||
// them.
|
||||
if (_jmethod_ids != NULL) {
|
||||
Method::clear_jmethod_ids(this);
|
||||
}
|
||||
|
||||
// Clean up global class iterator for compiler
|
||||
static_klass_iterator.adjust_saved_class(this);
|
||||
}
|
||||
@@ -749,15 +764,6 @@ ClassLoaderData::~ClassLoaderData() {
|
||||
_metaspace = NULL;
|
||||
delete m;
|
||||
}
|
||||
// Clear all the JNI handles for methods
|
||||
// These aren't deallocated and are going to look like a leak, but that's
|
||||
// needed because we can't really get rid of jmethodIDs because we don't
|
||||
// know when native code is going to stop using them. The spec says that
|
||||
// they're "invalid" but existing programs likely rely on their being
|
||||
// NULL after class unloading.
|
||||
if (_jmethod_ids != NULL) {
|
||||
Method::clear_jmethod_ids(this);
|
||||
}
|
||||
// Delete lock
|
||||
delete _metaspace_lock;
|
||||
|
||||
|
||||
@@ -2191,10 +2191,15 @@ bool Method::is_method_id(jmethodID mid) {
|
||||
Method* Method::checked_resolve_jmethod_id(jmethodID mid) {
|
||||
if (mid == NULL) return NULL;
|
||||
Method* o = resolve_jmethod_id(mid);
|
||||
if (o == NULL || o == JNIMethodBlock::_free_method || !((Metadata*)o)->is_method()) {
|
||||
if (o == NULL || o == JNIMethodBlock::_free_method) {
|
||||
return NULL;
|
||||
}
|
||||
return o;
|
||||
// Method should otherwise be valid. Assert for testing.
|
||||
assert(is_valid_method(o), "should be valid jmethodid");
|
||||
// If the method's class holder object is unreferenced, but not yet marked as
|
||||
// unloaded, we need to return NULL here too because after a safepoint, its memory
|
||||
// will be reclaimed.
|
||||
return o->method_holder()->is_loader_alive() ? o : NULL;
|
||||
};
|
||||
|
||||
void Method::set_on_stack(const bool value) {
|
||||
|
||||
@@ -1455,8 +1455,8 @@ Node* Node::last_out(DUIterator_Last& i) const {
|
||||
class SimpleDUIterator : public StackObj {
|
||||
private:
|
||||
Node* node;
|
||||
DUIterator_Fast i;
|
||||
DUIterator_Fast imax;
|
||||
DUIterator_Fast i;
|
||||
public:
|
||||
SimpleDUIterator(Node* n): node(n), i(n->fast_outs(imax)) {}
|
||||
bool has_next() { return i < imax; }
|
||||
|
||||
@@ -1489,44 +1489,86 @@ Node *BoolNode::Ideal(PhaseGVN *phase, bool can_reshape) {
|
||||
return new BoolNode( ncmp, _test.negate() );
|
||||
}
|
||||
|
||||
// Change ((x & m) u<= m) or ((m & x) u<= m) to always true
|
||||
// Same with ((x & m) u< m+1) and ((m & x) u< m+1)
|
||||
// We use the following Lemmas/insights for the following two transformations (1) and (2):
|
||||
// x & y <=u y, for any x and y (Lemma 1, masking always results in a smaller unsigned number)
|
||||
// y <u y + 1 is always true if y != -1 (Lemma 2, (uint)(-1 + 1) == (uint)(UINT_MAX + 1) which overflows)
|
||||
// y <u 0 is always false for any y (Lemma 3, 0 == UINT_MIN and nothing can be smaller than that)
|
||||
//
|
||||
// (1a) Always: Change ((x & m) <=u m ) or ((m & x) <=u m ) to always true (true by Lemma 1)
|
||||
// (1b) If m != -1: Change ((x & m) <u m + 1) or ((m & x) <u m + 1) to always true:
|
||||
// x & m <=u m is always true // (Lemma 1)
|
||||
// x & m <=u m <u m + 1 is always true // (Lemma 2: m <u m + 1, if m != -1)
|
||||
//
|
||||
// A counter example for (1b), if we allowed m == -1:
|
||||
// (x & m) <u m + 1
|
||||
// (x & -1) <u 0
|
||||
// x <u 0
|
||||
// which is false for any x (Lemma 3)
|
||||
if (cop == Op_CmpU &&
|
||||
cmp1_op == Op_AndI) {
|
||||
Node* bound = NULL;
|
||||
Node* m = NULL;
|
||||
if (_test._test == BoolTest::le) {
|
||||
bound = cmp2;
|
||||
// (1a) "((x & m) <=u m)", cmp2 = m
|
||||
m = cmp2;
|
||||
} else if (_test._test == BoolTest::lt &&
|
||||
cmp2->Opcode() == Op_AddI &&
|
||||
cmp2->in(2)->find_int_con(0) == 1) {
|
||||
bound = cmp2->in(1);
|
||||
// (1b) "(x & m) <u m + 1" and "(m & x) <u m + 1", cmp2 = m + 1
|
||||
Node* rhs_m = cmp2->in(1);
|
||||
const TypeInt* rhs_m_type = phase->type(rhs_m)->isa_int();
|
||||
if (rhs_m_type->_lo > -1 || rhs_m_type->_hi < -1) {
|
||||
// Exclude any case where m == -1 is possible.
|
||||
m = rhs_m;
|
||||
}
|
||||
}
|
||||
if (cmp1->in(2) == bound || cmp1->in(1) == bound) {
|
||||
if (cmp1->in(2) == m || cmp1->in(1) == m) {
|
||||
return ConINode::make(1);
|
||||
}
|
||||
}
|
||||
|
||||
// Change ((x & (m - 1)) u< m) into (m > 0)
|
||||
// This is the off-by-one variant of the above
|
||||
// (2) Change ((x & (m - 1)) <u m) or (((m - 1) & x) <u m) to (m >u 0)
|
||||
// This is the off-by-one variant of the above.
|
||||
//
|
||||
// We now prove that this replacement is correct. This is the same as proving
|
||||
// "m >u 0" if and only if "x & (m - 1) <u m", i.e. "m >u 0 <=> x & (m - 1) <u m"
|
||||
//
|
||||
// We use (Lemma 1) and (Lemma 3) from above.
|
||||
//
|
||||
// Case "x & (m - 1) <u m => m >u 0":
|
||||
// We prove this by contradiction:
|
||||
// Assume m <=u 0 which is equivalent to m == 0:
|
||||
// and thus
|
||||
// x & (m - 1) <u m = 0 // m == 0
|
||||
// y <u 0 // y = x & (m - 1)
|
||||
// by Lemma 3, this is always false, i.e. a contradiction to our assumption.
|
||||
//
|
||||
// Case "m >u 0 => x & (m - 1) <u m":
|
||||
// x & (m - 1) <=u (m - 1) // (Lemma 1)
|
||||
// x & (m - 1) <=u (m - 1) <u m // Using assumption m >u 0, no underflow of "m - 1"
|
||||
//
|
||||
//
|
||||
// Note that the signed version of "m > 0":
|
||||
// m > 0 <=> x & (m - 1) <u m
|
||||
// does not hold:
|
||||
// Assume m == -1 and x == -1:
|
||||
// x & (m - 1) <u m
|
||||
// -1 & -2 <u -1
|
||||
// -2 <u -1
|
||||
// UINT_MAX - 1 <u UINT_MAX // Signed to unsigned numbers
|
||||
// which is true while
|
||||
// m > 0
|
||||
// is false which is a contradiction.
|
||||
if (cop == Op_CmpU &&
|
||||
_test._test == BoolTest::lt &&
|
||||
cmp1_op == Op_AndI) {
|
||||
Node* l = cmp1->in(1);
|
||||
Node* r = cmp1->in(2);
|
||||
for (int repeat = 0; repeat < 2; repeat++) {
|
||||
bool match = r->Opcode() == Op_AddI && r->in(2)->find_int_con(0) == -1 &&
|
||||
r->in(1) == cmp2;
|
||||
if (match) {
|
||||
// arraylength known to be non-negative, so a (arraylength != 0) is sufficient,
|
||||
// but to be compatible with the array range check pattern, use (arraylength u> 0)
|
||||
Node* ncmp = cmp2->Opcode() == Op_LoadRange
|
||||
? phase->transform(new CmpUNode(cmp2, phase->intcon(0)))
|
||||
: phase->transform(new CmpINode(cmp2, phase->intcon(0)));
|
||||
return new BoolNode(ncmp, BoolTest::gt);
|
||||
} else {
|
||||
// commute and try again
|
||||
l = cmp1->in(2);
|
||||
r = cmp1->in(1);
|
||||
Node* m = cmp2; // RHS: m
|
||||
for (int add_idx = 1; add_idx <= 2; add_idx++) { // LHS: "(m + (-1)) & x" or "x & (m + (-1))"?
|
||||
Node* maybe_m_minus_1 = cmp1->in(add_idx);
|
||||
if (maybe_m_minus_1->Opcode() == Op_AddI &&
|
||||
maybe_m_minus_1->in(2)->find_int_con(0) == -1 &&
|
||||
maybe_m_minus_1->in(1) == m) {
|
||||
Node* m_cmpu_0 = phase->transform(new CmpUNode(m, phase->intcon(0)));
|
||||
return new BoolNode(m_cmpu_0, BoolTest::gt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@@ -69,6 +69,22 @@ enum CADistrustPolicy {
|
||||
}
|
||||
EntrustTLSPolicy.checkDistrust(chain);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Distrust TLS Server certificates anchored by a CAMERFIRMA root CA and
|
||||
* issued after April 15, 2025. If enabled, this policy is currently
|
||||
* enforced by the PKIX and SunX509 TrustManager implementations
|
||||
* of the SunJSSE provider implementation.
|
||||
*/
|
||||
CAMERFIRMA_TLS {
|
||||
void checkDistrust(String variant, X509Certificate[] chain)
|
||||
throws ValidatorException {
|
||||
if (!variant.equals(Validator.VAR_TLS_SERVER)) {
|
||||
return;
|
||||
}
|
||||
CamerfirmaTLSPolicy.checkDistrust(chain);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
package sun.security.validator;
|
||||
|
||||
import java.security.cert.X509Certificate;
|
||||
import java.time.LocalDate;
|
||||
import java.time.Month;
|
||||
import java.time.ZoneOffset;
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import sun.security.util.Debug;
|
||||
import sun.security.x509.X509CertImpl;
|
||||
|
||||
/**
|
||||
* This class checks if Camerfirma issued TLS Server certificates should be
|
||||
* restricted.
|
||||
*/
|
||||
final class CamerfirmaTLSPolicy {
|
||||
|
||||
private static final Debug debug = Debug.getInstance("certpath");
|
||||
|
||||
// SHA-256 certificate fingerprints of distrusted roots
|
||||
private static final Set<String> FINGERPRINTS = Set.of(
|
||||
// cacerts alias: camerfirmachamberscommerceca
|
||||
// DN: CN=Chambers of Commerce Root,
|
||||
// OU=http://www.chambersign.org,
|
||||
// O=AC Camerfirma SA CIF A82743287, C=EU
|
||||
"0C258A12A5674AEF25F28BA7DCFAECEEA348E541E6F5CC4EE63B71B361606AC3",
|
||||
// cacerts alias: camerfirmachambersca
|
||||
// DN: CN=Chambers of Commerce Root - 2008,
|
||||
// O=AC Camerfirma S.A., SERIALNUMBER=A82743287,
|
||||
// L=Madrid (see current address at www.camerfirma.com/address),
|
||||
// C=EU
|
||||
"063E4AFAC491DFD332F3089B8542E94617D893D7FE944E10A7937EE29D9693C0",
|
||||
// cacerts alias: camerfirmachambersignca
|
||||
// DN: CN=Global Chambersign Root - 2008,
|
||||
// O=AC Camerfirma S.A., SERIALNUMBER=A82743287,
|
||||
// L=Madrid (see current address at www.camerfirma.com/address),
|
||||
// C=EU
|
||||
"136335439334A7698016A0D324DE72284E079D7B5220BB8FBD747816EEBEBACA"
|
||||
);
|
||||
|
||||
// Any TLS Server certificate that is anchored by one of the Camerfirma
|
||||
// roots above and is issued after this date will be distrusted.
|
||||
private static final LocalDate APRIL_15_2025 =
|
||||
LocalDate.of(2025, Month.APRIL, 15);
|
||||
|
||||
/**
|
||||
* This method assumes the eeCert is a TLS Server Cert and chains back to
|
||||
* the anchor.
|
||||
*
|
||||
* @param chain the end-entity's certificate chain. The end entity cert
|
||||
* is at index 0, the trust anchor at index n-1.
|
||||
* @throws ValidatorException if the certificate is distrusted
|
||||
*/
|
||||
static void checkDistrust(X509Certificate[] chain)
|
||||
throws ValidatorException {
|
||||
X509Certificate anchor = chain[chain.length-1];
|
||||
String fp = fingerprint(anchor);
|
||||
if (fp == null) {
|
||||
throw new ValidatorException("Cannot generate fingerprint for "
|
||||
+ "trust anchor of TLS server certificate");
|
||||
}
|
||||
if (FINGERPRINTS.contains(fp)) {
|
||||
Date notBefore = chain[0].getNotBefore();
|
||||
LocalDate ldNotBefore = LocalDate.ofInstant(notBefore.toInstant(),
|
||||
ZoneOffset.UTC);
|
||||
// reject if certificate is issued after April 15, 2025
|
||||
checkNotBefore(ldNotBefore, APRIL_15_2025, anchor);
|
||||
}
|
||||
}
|
||||
|
||||
private static String fingerprint(X509Certificate cert) {
|
||||
return X509CertImpl.getFingerprint("SHA-256", cert);
|
||||
}
|
||||
|
||||
private static void checkNotBefore(LocalDate notBeforeDate,
|
||||
LocalDate distrustDate, X509Certificate anchor)
|
||||
throws ValidatorException {
|
||||
if (notBeforeDate.isAfter(distrustDate)) {
|
||||
throw new ValidatorException
|
||||
("TLS Server certificate issued after " + distrustDate +
|
||||
" and anchored by a distrusted legacy Camerfirma root CA: "
|
||||
+ anchor.getSubjectX500Principal(),
|
||||
ValidatorException.T_UNTRUSTED_CERT, anchor);
|
||||
}
|
||||
}
|
||||
|
||||
private CamerfirmaTLSPolicy() {}
|
||||
}
|
||||
@@ -1290,6 +1290,9 @@ jdk.sasl.disabledMechanisms=
|
||||
# ENTRUST_TLS : Distrust TLS Server certificates anchored by
|
||||
# an Entrust root CA and issued after November 11, 2024.
|
||||
#
|
||||
# CAMERFIRMA_TLS : Distrust TLS Server certificates anchored by
|
||||
# a Camerfirma root CA and issued after April 15, 2025.
|
||||
#
|
||||
# Leading and trailing whitespace surrounding each value are ignored.
|
||||
# Unknown values are ignored. If the property is commented out or set to the
|
||||
# empty String, no policies are enforced.
|
||||
@@ -1301,7 +1304,7 @@ jdk.sasl.disabledMechanisms=
|
||||
# jdk.certpath.disabledAlgorithms; those restrictions are still enforced even
|
||||
# if this property is not enabled.
|
||||
#
|
||||
jdk.security.caDistrustPolicies=SYMANTEC_TLS,ENTRUST_TLS
|
||||
jdk.security.caDistrustPolicies=SYMANTEC_TLS,ENTRUST_TLS,CAMERFIRMA_TLS
|
||||
|
||||
#
|
||||
# FilePermission path canonicalization
|
||||
|
||||
@@ -211,13 +211,14 @@ final class ProcessImpl extends Process {
|
||||
private static final int VERIFICATION_LEGACY = 3;
|
||||
// See Command shell overview for documentation of special characters.
|
||||
// https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490954(v=technet.10)
|
||||
private static final char ESCAPE_VERIFICATION[][] = {
|
||||
private static final String ESCAPE_VERIFICATION[] = {
|
||||
// We guarantee the only command file execution for implicit [cmd.exe] run.
|
||||
// http://technet.microsoft.com/en-us/library/bb490954.aspx
|
||||
{' ', '\t', '\"', '<', '>', '&', '|', '^'},
|
||||
{' ', '\t', '\"', '<', '>'},
|
||||
{' ', '\t', '\"', '<', '>'},
|
||||
{' ', '\t'}
|
||||
// All space characters require quoting are checked in needsEscaping().
|
||||
"\"<>&|^",
|
||||
"\"<>",
|
||||
"\"<>",
|
||||
""
|
||||
};
|
||||
|
||||
private static String createCommandLine(int verificationType,
|
||||
@@ -332,9 +333,14 @@ final class ProcessImpl extends Process {
|
||||
}
|
||||
|
||||
if (!argIsQuoted) {
|
||||
char testEscape[] = ESCAPE_VERIFICATION[verificationType];
|
||||
for (int i = 0; i < testEscape.length; ++i) {
|
||||
if (arg.indexOf(testEscape[i]) >= 0) {
|
||||
for (int i = 0; i < arg.length(); i++) {
|
||||
char ch = arg.charAt(i);
|
||||
if (Character.isLetterOrDigit(ch))
|
||||
continue; // skip over common characters
|
||||
// All space chars require quotes and other mode specific characters
|
||||
if (Character.isSpaceChar(ch) ||
|
||||
Character.isWhitespace(ch) ||
|
||||
ESCAPE_VERIFICATION[verificationType].indexOf(ch) >= 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@@ -486,6 +486,8 @@ GetJavaProperties(JNIEnv* env)
|
||||
* where (buildNumber > 17762)
|
||||
* Windows Server 2022 10 0 (!VER_NT_WORKSTATION)
|
||||
* where (buildNumber > 20347)
|
||||
* Windows Server 2025 10 0 (!VER_NT_WORKSTATION)
|
||||
* where (buildNumber > 26039)
|
||||
*
|
||||
* This mapping will presumably be augmented as new Windows
|
||||
* versions are released.
|
||||
@@ -569,7 +571,10 @@ GetJavaProperties(JNIEnv* env)
|
||||
case 0:
|
||||
/* Windows server 2019 GA 10/2018 build number is 17763 */
|
||||
/* Windows server 2022 build number is 20348 */
|
||||
if (buildNumber > 20347) {
|
||||
/* Windows server 2025 Preview build is 26040 */
|
||||
if (buildNumber > 26039) {
|
||||
sprops.os_name = "Windows Server 2025";
|
||||
} else if (buildNumber > 20347) {
|
||||
sprops.os_name = "Windows Server 2022";
|
||||
} else if (buildNumber > 17676) {
|
||||
sprops.os_name = "Windows Server 2019";
|
||||
|
||||
@@ -39,6 +39,9 @@
|
||||
// keyboard layout
|
||||
static NSString *kbdLayout;
|
||||
|
||||
// Constant for keyman layouts
|
||||
#define KEYMAN_LAYOUT "keyman"
|
||||
|
||||
@interface AWTView()
|
||||
@property (retain) CDropTarget *_dropTarget;
|
||||
@property (retain) CDragSource *_dragSource;
|
||||
@@ -281,7 +284,7 @@ static BOOL shouldUsePressAndHold() {
|
||||
|
||||
- (void) keyDown: (NSEvent *)event {
|
||||
fProcessingKeystroke = YES;
|
||||
fKeyEventsNeeded = YES;
|
||||
fKeyEventsNeeded = ![(NSString *)kbdLayout containsString:@KEYMAN_LAYOUT];
|
||||
|
||||
// Allow TSM to look at the event and potentially send back NSTextInputClient messages.
|
||||
[self interpretKeyEvents:[NSArray arrayWithObject:event]];
|
||||
@@ -989,7 +992,7 @@ static jclass jc_CInputMethod = NULL;
|
||||
|
||||
if ((utf16Length > 2) ||
|
||||
((utf8Length > 1) && [self isCodePointInUnicodeBlockNeedingIMEvent:codePoint]) ||
|
||||
((codePoint == 0x5c) && ([(NSString *)kbdLayout containsString:@"Kotoeri"]))) {
|
||||
[(NSString *)kbdLayout containsString:@KEYMAN_LAYOUT]) {
|
||||
aStringIsComplex = YES;
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ typedef struct {
|
||||
|
||||
#define UNSAFE_TO_SUB(a, b) \
|
||||
(((b >= 0) && (a < 0) && (a < (INT_MIN + b))) || \
|
||||
((b < 0) && (a >= 0) && (-b > (INT_MAX - a)))) \
|
||||
((b < 0) && (a >= 0) && (a > (INT_MAX + b)))) \
|
||||
|
||||
/*
|
||||
* The SurfaceDataRasInfo structure is used to pass in and return various
|
||||
|
||||
@@ -140,25 +140,6 @@ public abstract class StringConcat {
|
||||
return res.append(tree);
|
||||
}
|
||||
|
||||
/**
|
||||
* If the type is not accessible from current context, try to figure out the
|
||||
* sharpest accessible supertype.
|
||||
*
|
||||
* @param originalType type to sharpen
|
||||
* @return sharped type
|
||||
*/
|
||||
Type sharpestAccessible(Type originalType) {
|
||||
if (originalType.hasTag(ARRAY)) {
|
||||
return types.makeArrayType(sharpestAccessible(types.elemtype(originalType)));
|
||||
}
|
||||
|
||||
Type type = originalType;
|
||||
while (!rs.isAccessible(gen.getAttrEnv(), type.asElement())) {
|
||||
type = types.supertype(type);
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* "Legacy" bytecode flavor: emit the StringBuilder.append chains for string
|
||||
* concatenation.
|
||||
@@ -303,6 +284,14 @@ public abstract class StringConcat {
|
||||
|
||||
return splits.toList();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the argument should be converted to a string eagerly, to preserve
|
||||
* possible side-effects.
|
||||
*/
|
||||
protected boolean shouldConvertToStringEagerly(Type argType) {
|
||||
return !types.unboxedTypeOrType(argType).isPrimitive() && argType.tsym != syms.stringType.tsym;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -331,14 +320,18 @@ public abstract class StringConcat {
|
||||
for (JCTree arg : t) {
|
||||
Object constVal = arg.type.constValue();
|
||||
if ("".equals(constVal)) continue;
|
||||
if (arg.type == syms.botType) {
|
||||
dynamicArgs.add(types.boxedClass(syms.voidType).type);
|
||||
} else {
|
||||
dynamicArgs.add(sharpestAccessible(arg.type));
|
||||
Type argType = arg.type;
|
||||
if (argType == syms.botType) {
|
||||
argType = types.boxedClass(syms.voidType).type;
|
||||
}
|
||||
if (!first || generateFirstArg) {
|
||||
gen.genExpr(arg, arg.type).load();
|
||||
}
|
||||
if (shouldConvertToStringEagerly(argType)) {
|
||||
gen.callMethod(pos, syms.stringType, names.valueOf, List.of(syms.objectType), true);
|
||||
argType = syms.stringType;
|
||||
}
|
||||
dynamicArgs.add(argType);
|
||||
first = false;
|
||||
}
|
||||
doCall(type, pos, dynamicArgs.toList());
|
||||
@@ -438,10 +431,15 @@ public abstract class StringConcat {
|
||||
} else {
|
||||
// Ordinary arguments come through the dynamic arguments.
|
||||
recipe.append(TAG_ARG);
|
||||
dynamicArgs.add(sharpestAccessible(arg.type));
|
||||
Type argType = arg.type;
|
||||
if (!first || generateFirstArg) {
|
||||
gen.genExpr(arg, arg.type).load();
|
||||
}
|
||||
if (shouldConvertToStringEagerly(argType)) {
|
||||
gen.callMethod(pos, syms.stringType, names.valueOf, List.of(syms.objectType), true);
|
||||
argType = syms.stringType;
|
||||
}
|
||||
dynamicArgs.add(argType);
|
||||
first = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2021, Azul Systems, Inc. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
@@ -622,11 +622,16 @@ static bool read_core_segments(struct ps_prochandle* ph) {
|
||||
print_debug("failed to read LC_SEGMENT_64 i = %d!\n", i);
|
||||
goto err;
|
||||
}
|
||||
if (add_map_info(ph, fd, segcmd.fileoff, segcmd.vmaddr, segcmd.vmsize) == NULL) {
|
||||
print_debug("Failed to add map_info at i = %d\n", i);
|
||||
goto err;
|
||||
// The base of the library is offset by a random amount which ends up as a load command with a
|
||||
// filesize of 0. This must be ignored otherwise the base address of the library is wrong.
|
||||
if (segcmd.filesize != 0) {
|
||||
if (add_map_info(ph, fd, segcmd.fileoff, segcmd.vmaddr, segcmd.vmsize) == NULL) {
|
||||
print_debug("Failed to add map_info at i = %d\n", i);
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
print_debug("LC_SEGMENT_64 added: nsects=%d fileoff=0x%llx vmaddr=0x%llx vmsize=0x%llx filesize=0x%llx %s\n",
|
||||
print_debug("LC_SEGMENT_64 %s: nsects=%d fileoff=0x%llx vmaddr=0x%llx vmsize=0x%llx filesize=0x%llx %s\n",
|
||||
segcmd.filesize == 0 ? "with filesize == 0 ignored" : "added",
|
||||
segcmd.nsects, segcmd.fileoff, segcmd.vmaddr, segcmd.vmsize,
|
||||
segcmd.filesize, &segcmd.segname[0]);
|
||||
} else if (lcmd.cmd == LC_THREAD || lcmd.cmd == LC_UNIXTHREAD) {
|
||||
|
||||
@@ -188,6 +188,13 @@ class GNUStyleOptions {
|
||||
}
|
||||
},
|
||||
|
||||
// Extract options
|
||||
new Option(false, OptionType.EXTRACT, "--keep-old-files", "-k") {
|
||||
void process(Main jartool, String opt, String arg) {
|
||||
jartool.kflag = true;
|
||||
}
|
||||
},
|
||||
|
||||
// Hidden options
|
||||
new Option(false, OptionType.OTHER, "-P") {
|
||||
void process(Main jartool, String opt, String arg) {
|
||||
@@ -230,6 +237,7 @@ class GNUStyleOptions {
|
||||
CREATE("create"),
|
||||
CREATE_UPDATE("create.update"),
|
||||
CREATE_UPDATE_INDEX("create.update.index"),
|
||||
EXTRACT("extract"),
|
||||
OTHER("other");
|
||||
|
||||
/** Resource lookup section prefix. */
|
||||
|
||||
@@ -149,8 +149,9 @@ public class Main {
|
||||
* nflag: Perform jar normalization at the end
|
||||
* pflag: preserve/don't strip leading slash and .. component from file name
|
||||
* dflag: print module descriptor
|
||||
* kflag: keep existing file
|
||||
*/
|
||||
boolean cflag, uflag, xflag, tflag, vflag, flag0, Mflag, iflag, nflag, pflag, dflag;
|
||||
boolean cflag, uflag, xflag, tflag, vflag, flag0, Mflag, iflag, nflag, pflag, dflag, kflag;
|
||||
|
||||
boolean suppressDeprecateMsg = false;
|
||||
|
||||
@@ -584,6 +585,9 @@ public class Main {
|
||||
case '0':
|
||||
flag0 = true;
|
||||
break;
|
||||
case 'k':
|
||||
kflag = true;
|
||||
break;
|
||||
case 'i':
|
||||
if (cflag || uflag || xflag || tflag) {
|
||||
usageError(getMsg("error.multiple.main.operations"));
|
||||
@@ -617,6 +621,9 @@ public class Main {
|
||||
usageError(getMsg("error.bad.option"));
|
||||
return false;
|
||||
}
|
||||
if (kflag && !xflag) {
|
||||
warn(formatMsg("warn.option.is.ignored", "--keep-old-files/-k/k"));
|
||||
}
|
||||
|
||||
/* parse file arguments */
|
||||
int n = args.length - count;
|
||||
@@ -1448,6 +1455,12 @@ public class Main {
|
||||
output(formatMsg("out.create", name));
|
||||
}
|
||||
} else {
|
||||
if (f.exists() && kflag) {
|
||||
if (vflag) {
|
||||
output(formatMsg("out.kept", name));
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
if (f.getParent() != null) {
|
||||
File d = new File(f.getParent());
|
||||
if (!d.exists() && !d.mkdirs() || !d.isDirectory()) {
|
||||
|
||||
@@ -133,6 +133,8 @@ warn.release.unexpected.versioned.entry=\
|
||||
unexpected versioned entry {0}
|
||||
warn.flag.is.deprecated=\
|
||||
Warning: The {0} option is deprecated, and is planned for removal in a future JDK release\n
|
||||
warn.option.is.ignored=\
|
||||
Warning: The {0} option is not valid with current usage, will be ignored.
|
||||
out.added.manifest=\
|
||||
added manifest
|
||||
out.added.module-info=\
|
||||
@@ -155,6 +157,8 @@ out.create=\
|
||||
\ \ created: {0}
|
||||
out.extracted=\
|
||||
extracted: {0}
|
||||
out.kept=\
|
||||
\ \ skipped: {0} exists
|
||||
out.inflated=\
|
||||
\ inflated: {0}
|
||||
out.size=\
|
||||
@@ -234,7 +238,10 @@ main.help.opt.main.list=\
|
||||
main.help.opt.main.update=\
|
||||
\ -u, --update Update an existing jar archive
|
||||
main.help.opt.main.extract=\
|
||||
\ -x, --extract Extract named (or all) files from the archive
|
||||
\ -x, --extract Extract named (or all) files from the archive.\n\
|
||||
\ If a file with the same name appears more than once in\n\
|
||||
\ the archive, each copy will be extracted, with later copies\n\
|
||||
\ overwriting (replacing) earlier copies unless -k is specified.
|
||||
main.help.opt.main.describe-module=\
|
||||
\ -d, --describe-module Print the module descriptor, or automatic module name
|
||||
main.help.opt.any=\
|
||||
@@ -287,6 +294,15 @@ main.help.opt.create.update.index=\
|
||||
\ Operation modifiers valid only in create, update, and generate-index mode:\n
|
||||
main.help.opt.create.update.index.no-compress=\
|
||||
\ -0, --no-compress Store only; use no ZIP compression
|
||||
main.help.opt.extract=\
|
||||
\ Operation modifiers valid only in extract mode:\n
|
||||
main.help.opt.extract.keep-old-files=\
|
||||
\ -k, --keep-old-files Do not overwrite existing files.\n\
|
||||
\ If a Jar file entry with the same name exists in the target\n\
|
||||
\ directory, the existing file will not be overwritten.\n\
|
||||
\ As a result, if a file appears more than once in an\n\
|
||||
\ archive, later copies will not overwrite earlier copies.\n\
|
||||
\ Also note that some file system can be case insensitive.
|
||||
main.help.opt.other=\
|
||||
\ Other options:\n
|
||||
main.help.opt.other.help=\
|
||||
|
||||
@@ -164,22 +164,22 @@ runtime/jni/terminatedThread/TestTerminatedThread.java 8219652 aix-ppc64
|
||||
|
||||
serviceability/dcmd/gc/RunFinalizationTest.java 8227120 generic-all
|
||||
serviceability/sa/ClhsdbAttach.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbCDSCore.java 8294316,8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/ClhsdbCDSCore.java 8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/ClhsdbCDSJstackPrintAll.java 8193639 solaris-all
|
||||
serviceability/sa/CDSJMapClstats.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbField.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbFindPC.java 8294316,8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/ClhsdbFindPC.java 8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/ClhsdbFlags.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbInspect.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbJdis.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbJhisto.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbJstack.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbLongConstant.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbPmap.java 8294316,8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/ClhsdbPmap.java 8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/ClhsdbPrintAll.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbPrintAs.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbPrintStatics.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbPstack.java 8294316,8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/ClhsdbPstack.java 8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/ClhsdbRegionDetailsScanOopsForG1.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbScanOops.java 8193639 solaris-all
|
||||
serviceability/sa/ClhsdbSource.java 8193639 solaris-all
|
||||
@@ -203,8 +203,8 @@ serviceability/sa/TestInstanceKlassSize.java 8193639 solaris-all
|
||||
serviceability/sa/TestInstanceKlassSizeForInterface.java 8193639 solaris-all
|
||||
serviceability/sa/TestIntConstant.java 8193639 solaris-all
|
||||
serviceability/sa/TestJhsdbJstackLock.java 8193639 solaris-all
|
||||
serviceability/sa/TestJmapCore.java 8294316,8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/TestJmapCoreMetaspace.java 8294316,8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/TestJmapCore.java 8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/TestJmapCoreMetaspace.java 8193639,8267433 solaris-all,macosx-x64
|
||||
serviceability/sa/TestPrintMdo.java 8193639 solaris-all
|
||||
serviceability/sa/TestRevPtrsForInvokeDynamic.java 8191270 generic-all
|
||||
serviceability/sa/TestType.java 8193639 solaris-all
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
* after the module read edge is added.
|
||||
* @compile ModuleLibrary.java
|
||||
* p2/c2.java
|
||||
* p5/c5.java
|
||||
* p7/c7.java
|
||||
* p5/c5.jasm
|
||||
* p7/c7.jasm
|
||||
* @run main/othervm MethodAccessReadTwice
|
||||
*/
|
||||
|
||||
|
||||
76
test/hotspot/jtreg/runtime/modules/AccessCheck/p5/c5.jasm
Normal file
76
test/hotspot/jtreg/runtime/modules/AccessCheck/p5/c5.jasm
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright (c) 2021, Google LLC. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Test input for the fix for JDK-8174954, which checks for an expected
|
||||
* IllegalAccessError when the parameter type of an invokedynamic is
|
||||
* inaccessible.
|
||||
*
|
||||
* The test assumes that given the string concatenation expression "" + param,
|
||||
* javac generates an invokedynamic that uses the specific type of param. The
|
||||
* fix for JDK-8273914 make javac eagerly convert param to a String before
|
||||
* passing it to the invokedynamic call, which avoids the accessibility issue
|
||||
* the test is trying to exercise.
|
||||
*
|
||||
* This jasm file contains the bytecode javac generated before the fix for
|
||||
* JDK-8273914, to continue to exercise the invokedynamic behaviour that
|
||||
* JDK-8174954 is testing.
|
||||
*/
|
||||
|
||||
package p5;
|
||||
|
||||
super public class c5
|
||||
version 55:0
|
||||
{
|
||||
public Method "<init>":"()V"
|
||||
stack 1 locals 1
|
||||
{
|
||||
aload_0;
|
||||
invokespecial Method java/lang/Object."<init>":"()V";
|
||||
return;
|
||||
}
|
||||
public Method method5:"(Lp2/c2;)V"
|
||||
stack 2 locals 2
|
||||
{
|
||||
getstatic Field java/lang/System.out:"Ljava/io/PrintStream;";
|
||||
aload_1;
|
||||
invokedynamic InvokeDynamic REF_invokeStatic:Method java/lang/invoke/StringConcatFactory.makeConcatWithConstants:"(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;":makeConcatWithConstants:"(Lp2/c2;)Ljava/lang/String;" {
|
||||
String "In c5\'s method5 with param = "
|
||||
};
|
||||
invokevirtual Method java/io/PrintStream.println:"(Ljava/lang/String;)V";
|
||||
return;
|
||||
}
|
||||
public Method methodAddReadEdge:"(Ljava/lang/Module;)V"
|
||||
stack 2 locals 2
|
||||
{
|
||||
ldc class c5;
|
||||
invokevirtual Method java/lang/Class.getModule:"()Ljava/lang/Module;";
|
||||
aload_1;
|
||||
invokevirtual Method java/lang/Module.addReads:"(Ljava/lang/Module;)Ljava/lang/Module;";
|
||||
pop;
|
||||
return;
|
||||
}
|
||||
|
||||
public static final InnerClass Lookup=class java/lang/invoke/MethodHandles$Lookup of class java/lang/invoke/MethodHandles;
|
||||
|
||||
} // end Class c5
|
||||
113
test/hotspot/jtreg/runtime/modules/AccessCheck/p7/c7.jasm
Normal file
113
test/hotspot/jtreg/runtime/modules/AccessCheck/p7/c7.jasm
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright (c) 2021, Google LLC. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Test input for the fix for JDK-8174954, which checks for an expected
|
||||
* IllegalAccessError when the parameter type of an invokedynamic is
|
||||
* inaccessible.
|
||||
*
|
||||
* The test assumes that given the string concatenation expression "" + param,
|
||||
* javac generates an invokedynamic that uses the specific type of param. The
|
||||
* fix for JDK-8273914 make javac eagerly convert param to a String before
|
||||
* passing it to the invokedynamic call, which avoids the accessibility issue
|
||||
* the test is trying to exercise.
|
||||
*
|
||||
* This jasm file contains the bytecode javac generated before the fix for
|
||||
* JDK-8273914, to continue to exercise the invokedynamic behaviour that
|
||||
* JDK-8174954 is testing.
|
||||
*/
|
||||
|
||||
package p7;
|
||||
|
||||
super public class c7
|
||||
version 55:0
|
||||
{
|
||||
public Method "<init>":"()V"
|
||||
stack 1 locals 1
|
||||
{
|
||||
aload_0;
|
||||
invokespecial Method java/lang/Object."<init>":"()V";
|
||||
return;
|
||||
}
|
||||
public Method method7:"(Lp2/c2;Ljava/lang/Module;)V"
|
||||
stack 3 locals 4
|
||||
{
|
||||
try t0;
|
||||
getstatic Field java/lang/System.out:"Ljava/io/PrintStream;";
|
||||
aload_1;
|
||||
invokedynamic InvokeDynamic REF_invokeStatic:Method java/lang/invoke/StringConcatFactory.makeConcatWithConstants:"(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;":makeConcatWithConstants:"(Lp2/c2;)Ljava/lang/String;" {
|
||||
String "In c7\'s method7 with param = "
|
||||
};
|
||||
invokevirtual Method java/io/PrintStream.println:"(Ljava/lang/String;)V";
|
||||
new class java/lang/RuntimeException;
|
||||
dup;
|
||||
ldc String "c7 failed to throw expected IllegalAccessError";
|
||||
invokespecial Method java/lang/RuntimeException."<init>":"(Ljava/lang/String;)V";
|
||||
athrow;
|
||||
endtry t0;
|
||||
catch t0 java/lang/IllegalAccessError;
|
||||
stack_frame_type stack1;
|
||||
stack_map class java/lang/IllegalAccessError;
|
||||
astore_3;
|
||||
aload_0;
|
||||
aload_2;
|
||||
invokevirtual Method methodAddReadEdge:"(Ljava/lang/Module;)V";
|
||||
try t1;
|
||||
getstatic Field java/lang/System.out:"Ljava/io/PrintStream;";
|
||||
aload_1;
|
||||
invokedynamic InvokeDynamic REF_invokeStatic:Method java/lang/invoke/StringConcatFactory.makeConcatWithConstants:"(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;":makeConcatWithConstants:"(Lp2/c2;)Ljava/lang/String;" {
|
||||
String "In c7\'s method7 with param = "
|
||||
};
|
||||
invokevirtual Method java/io/PrintStream.println:"(Ljava/lang/String;)V";
|
||||
endtry t1;
|
||||
goto L61;
|
||||
catch t1 java/lang/IllegalAccessError;
|
||||
stack_frame_type stack1;
|
||||
stack_map class java/lang/IllegalAccessError;
|
||||
astore_3;
|
||||
new class java/lang/RuntimeException;
|
||||
dup;
|
||||
aload_3;
|
||||
invokevirtual Method java/lang/IllegalAccessError.getMessage:"()Ljava/lang/String;";
|
||||
invokedynamic InvokeDynamic REF_invokeStatic:Method java/lang/invoke/StringConcatFactory.makeConcatWithConstants:"(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;":makeConcatWithConstants:"(Ljava/lang/String;)Ljava/lang/String;" {
|
||||
String "Unexpected IllegalAccessError: "
|
||||
};
|
||||
invokespecial Method java/lang/RuntimeException."<init>":"(Ljava/lang/String;)V";
|
||||
athrow;
|
||||
L61: stack_frame_type same;
|
||||
return;
|
||||
}
|
||||
public Method methodAddReadEdge:"(Ljava/lang/Module;)V"
|
||||
stack 2 locals 2
|
||||
{
|
||||
ldc class c7;
|
||||
invokevirtual Method java/lang/Class.getModule:"()Ljava/lang/Module;";
|
||||
aload_1;
|
||||
invokevirtual Method java/lang/Module.addReads:"(Ljava/lang/Module;)Ljava/lang/Module;";
|
||||
pop;
|
||||
return;
|
||||
}
|
||||
|
||||
public static final InnerClass Lookup=class java/lang/invoke/MethodHandles$Lookup of class java/lang/invoke/MethodHandles;
|
||||
|
||||
} // end Class c7
|
||||
@@ -445,7 +445,7 @@ java/awt/image/VolatileImage/CustomCompositeTest.java 8199002 windows-all,linux-
|
||||
java/awt/image/VolatileImage/GradientPaints.java 8199003 linux-all
|
||||
java/awt/JAWT/JAWT.sh 8197798 windows-all
|
||||
java/awt/Debug/DumpOnKey/DumpOnKey.java 8202667 windows-all
|
||||
java/awt/Focus/WindowUpdateFocusabilityTest/WindowUpdateFocusabilityTest.java 8202926 linux-all
|
||||
java/awt/Focus/WindowUpdateFocusabilityTest/WindowUpdateFocusabilityTest.java 8339929 linux-all
|
||||
java/awt/datatransfer/ConstructFlavoredObjectTest/ConstructFlavoredObjectTest.java 8202860 linux-all
|
||||
java/awt/FileDialog/FilenameFilterTest/FilenameFilterTest.java 8202882 linux-all
|
||||
java/awt/Frame/FramesGC/FramesGC.java 8079069 macosx-all
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2009, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@@ -67,8 +67,6 @@ public class PrivateInvokeTest {
|
||||
String vstr = System.getProperty(THIS_CLASS.getSimpleName()+".verbose");
|
||||
if (vstr == null)
|
||||
vstr = System.getProperty(THIS_CLASS.getName()+".verbose");
|
||||
if (vstr == null)
|
||||
vstr = System.getProperty("test.verbose");
|
||||
if (vstr != null) verbose = Integer.parseInt(vstr);
|
||||
}
|
||||
private static int referenceKind(Method m) {
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
* @test
|
||||
* @bug 8025703 8040211 8191404 8203872 8222980 8225435 8241082 8242010 8247432
|
||||
* 8258795 8267038 8287180 8302512 8304761 8306031 8308021 8313702 8318322
|
||||
* 8327631 8332424 8334418
|
||||
* 8327631 8332424 8334418 8344589
|
||||
* @summary Checks the IANA language subtag registry data update
|
||||
* (LSR Revision: 2024-06-14) with Locale and Locale.LanguageRange
|
||||
* (LSR Revision: 2024-11-19) with Locale and Locale.LanguageRange
|
||||
* class methods.
|
||||
* @run main LanguageSubtagRegistryTest
|
||||
*/
|
||||
|
||||
@@ -1 +1 @@
|
||||
tzdata2024a
|
||||
tzdata2024b
|
||||
|
||||
@@ -53,6 +53,7 @@ Link America/Tijuana Mexico/BajaNorte
|
||||
Link America/Mazatlan Mexico/BajaSur
|
||||
Link America/Mexico_City Mexico/General
|
||||
Link Pacific/Auckland NZ
|
||||
Link Asia/Ulaanbaatar Asia/Choibalsan
|
||||
Link Pacific/Chatham NZ-CHAT
|
||||
Link America/Denver Navajo #= America/Shiprock
|
||||
Link Asia/Shanghai PRC
|
||||
|
||||
@@ -1,292 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import java.io.*;
|
||||
import java.math.BigInteger;
|
||||
import java.security.*;
|
||||
import java.security.cert.*;
|
||||
import java.time.*;
|
||||
import java.util.*;
|
||||
import javax.net.ssl.*;
|
||||
import sun.security.validator.Validator;
|
||||
import sun.security.validator.ValidatorException;
|
||||
|
||||
import jdk.test.lib.security.SecurityUtils;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8207258 8216280
|
||||
* @summary Check that TLS Server certificates chaining back to distrusted
|
||||
* Symantec roots are invalid
|
||||
* @library /test/lib
|
||||
* @modules java.base/sun.security.validator
|
||||
* @run main/othervm Distrust after policyOn invalid
|
||||
* @run main/othervm Distrust after policyOff valid
|
||||
* @run main/othervm Distrust before policyOn valid
|
||||
* @run main/othervm Distrust before policyOff valid
|
||||
*/
|
||||
|
||||
public class Distrust {
|
||||
|
||||
private static final String TEST_SRC = System.getProperty("test.src", ".");
|
||||
private static CertificateFactory cf;
|
||||
|
||||
// Each of the roots have a test certificate chain stored in a file
|
||||
// named "<root>-chain.pem".
|
||||
private static String[] rootsToTest = new String[] {
|
||||
"geotrustprimarycag2", "geotrustprimarycag3",
|
||||
"geotrustuniversalca", "thawteprimaryrootca", "thawteprimaryrootcag2",
|
||||
"thawteprimaryrootcag3", "verisignclass3g3ca", "verisignclass3g4ca",
|
||||
"verisignclass3g5ca", "verisignuniversalrootca" };
|
||||
|
||||
// Each of the subCAs with a delayed distrust date have a test certificate
|
||||
// chain stored in a file named "<subCA>-chain.pem".
|
||||
private static String[] subCAsToTest = new String[]{"appleistca8g1"};
|
||||
|
||||
// A date that is after the restrictions take affect
|
||||
private static final Date APRIL_17_2019 =
|
||||
Date.from(LocalDate.of(2019, 4, 17)
|
||||
.atStartOfDay(ZoneOffset.UTC)
|
||||
.toInstant());
|
||||
|
||||
// A date that is a second before the restrictions take affect
|
||||
private static final Date BEFORE_APRIL_17_2019 =
|
||||
Date.from(LocalDate.of(2019, 4, 17)
|
||||
.atStartOfDay(ZoneOffset.UTC)
|
||||
.minusSeconds(1)
|
||||
.toInstant());
|
||||
|
||||
// A date that is after the subCA restrictions take affect
|
||||
private static final Date JANUARY_1_2020 =
|
||||
Date.from(LocalDate.of(2020, 1, 1)
|
||||
.atStartOfDay(ZoneOffset.UTC)
|
||||
.toInstant());
|
||||
|
||||
// A date that is a second before the subCA restrictions take affect
|
||||
private static final Date BEFORE_JANUARY_1_2020 =
|
||||
Date.from(LocalDate.of(2020, 1, 1)
|
||||
.atStartOfDay(ZoneOffset.UTC)
|
||||
.minusSeconds(1)
|
||||
.toInstant());
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
cf = CertificateFactory.getInstance("X.509");
|
||||
|
||||
boolean before = args[0].equals("before");
|
||||
boolean policyOn = args[1].equals("policyOn");
|
||||
boolean isValid = args[2].equals("valid");
|
||||
|
||||
if (!policyOn) {
|
||||
// disable policy (default is on)
|
||||
Security.setProperty("jdk.security.caDistrustPolicies", "");
|
||||
}
|
||||
|
||||
Date notBefore = before ? BEFORE_APRIL_17_2019 : APRIL_17_2019;
|
||||
|
||||
X509TrustManager pkixTM = getTMF("PKIX", null);
|
||||
X509TrustManager sunX509TM = getTMF("SunX509", null);
|
||||
for (String test : rootsToTest) {
|
||||
System.err.println("Testing " + test);
|
||||
X509Certificate[] chain = loadCertificateChain(test);
|
||||
|
||||
testTM(sunX509TM, chain, notBefore, isValid);
|
||||
testTM(pkixTM, chain, notBefore, isValid);
|
||||
}
|
||||
|
||||
// test chain if params are passed to TrustManager
|
||||
System.err.println("Testing verisignuniversalrootca with params");
|
||||
testTM(getTMF("PKIX", getParams()),
|
||||
loadCertificateChain("verisignuniversalrootca"),
|
||||
notBefore, isValid);
|
||||
|
||||
// test code-signing chain (should be valid as restrictions don't apply)
|
||||
System.err.println("Testing verisignclass3g5ca code-signing chain");
|
||||
Validator v = Validator.getInstance(Validator.TYPE_PKIX,
|
||||
Validator.VAR_CODE_SIGNING,
|
||||
getParams());
|
||||
// set validation date so this will still pass when cert expires
|
||||
v.setValidationDate(new Date(1544197375493l));
|
||||
v.validate(loadCertificateChain("verisignclass3g5ca-codesigning"));
|
||||
|
||||
// test chains issued through subCAs
|
||||
notBefore = before ? BEFORE_JANUARY_1_2020 : JANUARY_1_2020;
|
||||
for (String test : subCAsToTest) {
|
||||
System.err.println("Testing " + test);
|
||||
X509Certificate[] chain = loadCertificateChain(test);
|
||||
|
||||
testTM(sunX509TM, chain, notBefore, isValid);
|
||||
testTM(pkixTM, chain, notBefore, isValid);
|
||||
}
|
||||
}
|
||||
|
||||
private static X509TrustManager getTMF(String type,
|
||||
PKIXBuilderParameters params) throws Exception {
|
||||
TrustManagerFactory tmf = TrustManagerFactory.getInstance(type);
|
||||
if (params == null) {
|
||||
tmf.init((KeyStore)null);
|
||||
} else {
|
||||
tmf.init(new CertPathTrustManagerParameters(params));
|
||||
}
|
||||
TrustManager[] tms = tmf.getTrustManagers();
|
||||
for (TrustManager tm : tms) {
|
||||
X509TrustManager xtm = (X509TrustManager)tm;
|
||||
return xtm;
|
||||
}
|
||||
throw new Exception("No TrustManager for " + type);
|
||||
}
|
||||
|
||||
private static PKIXBuilderParameters getParams() throws Exception {
|
||||
PKIXBuilderParameters pbp =
|
||||
new PKIXBuilderParameters(SecurityUtils.getCacertsKeyStore(),
|
||||
new X509CertSelector());
|
||||
pbp.setRevocationEnabled(false);
|
||||
return pbp;
|
||||
}
|
||||
|
||||
private static void testTM(X509TrustManager xtm, X509Certificate[] chain,
|
||||
Date notBefore, boolean valid) throws Exception {
|
||||
// Check if TLS Server certificate (the first element of the chain)
|
||||
// is issued after the specified notBefore date (should be rejected
|
||||
// unless distrust property is false). To do this, we need to
|
||||
// fake the notBefore date since none of the test certs are issued
|
||||
// after then.
|
||||
chain[0] = new DistrustedTLSServerCert(chain[0], notBefore);
|
||||
|
||||
try {
|
||||
xtm.checkServerTrusted(chain, "ECDHE_RSA");
|
||||
if (!valid) {
|
||||
throw new Exception("chain should be invalid");
|
||||
}
|
||||
} catch (CertificateException ce) {
|
||||
// expired TLS certificates should not be treated as failure
|
||||
if (expired(ce)) {
|
||||
System.err.println("Test is N/A, chain is expired");
|
||||
return;
|
||||
}
|
||||
if (valid) {
|
||||
throw new Exception("Unexpected exception, chain " +
|
||||
"should be valid", ce);
|
||||
}
|
||||
if (ce instanceof ValidatorException) {
|
||||
ValidatorException ve = (ValidatorException)ce;
|
||||
if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) {
|
||||
ce.printStackTrace(System.err);
|
||||
throw new Exception("Unexpected exception: " + ce);
|
||||
}
|
||||
} else {
|
||||
throw new Exception("Unexpected exception: " + ce);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// check if a cause of exception is an expired cert
|
||||
private static boolean expired(CertificateException ce) {
|
||||
if (ce instanceof CertificateExpiredException) {
|
||||
return true;
|
||||
}
|
||||
Throwable t = ce.getCause();
|
||||
while (t != null) {
|
||||
if (t instanceof CertificateExpiredException) {
|
||||
return true;
|
||||
}
|
||||
t = t.getCause();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private static X509Certificate[] loadCertificateChain(String name)
|
||||
throws Exception {
|
||||
try (InputStream in = new FileInputStream(TEST_SRC + File.separator +
|
||||
name + "-chain.pem")) {
|
||||
Collection<X509Certificate> certs =
|
||||
(Collection<X509Certificate>)cf.generateCertificates(in);
|
||||
return certs.toArray(new X509Certificate[0]);
|
||||
}
|
||||
}
|
||||
|
||||
private static class DistrustedTLSServerCert extends X509Certificate {
|
||||
private final X509Certificate cert;
|
||||
private final Date notBefore;
|
||||
DistrustedTLSServerCert(X509Certificate cert, Date notBefore) {
|
||||
this.cert = cert;
|
||||
this.notBefore = notBefore;
|
||||
}
|
||||
public Set<String> getCriticalExtensionOIDs() {
|
||||
return cert.getCriticalExtensionOIDs();
|
||||
}
|
||||
public byte[] getExtensionValue(String oid) {
|
||||
return cert.getExtensionValue(oid);
|
||||
}
|
||||
public Set<String> getNonCriticalExtensionOIDs() {
|
||||
return cert.getNonCriticalExtensionOIDs();
|
||||
}
|
||||
public boolean hasUnsupportedCriticalExtension() {
|
||||
return cert.hasUnsupportedCriticalExtension();
|
||||
}
|
||||
public void checkValidity() throws CertificateExpiredException,
|
||||
CertificateNotYetValidException {
|
||||
// always pass
|
||||
}
|
||||
public void checkValidity(Date date) throws CertificateExpiredException,
|
||||
CertificateNotYetValidException {
|
||||
// always pass
|
||||
}
|
||||
public int getVersion() { return cert.getVersion(); }
|
||||
public BigInteger getSerialNumber() { return cert.getSerialNumber(); }
|
||||
public Principal getIssuerDN() { return cert.getIssuerDN(); }
|
||||
public Principal getSubjectDN() { return cert.getSubjectDN(); }
|
||||
public Date getNotBefore() { return notBefore; }
|
||||
public Date getNotAfter() { return cert.getNotAfter(); }
|
||||
public byte[] getTBSCertificate() throws CertificateEncodingException {
|
||||
return cert.getTBSCertificate();
|
||||
}
|
||||
public byte[] getSignature() { return cert.getSignature(); }
|
||||
public String getSigAlgName() { return cert.getSigAlgName(); }
|
||||
public String getSigAlgOID() { return cert.getSigAlgOID(); }
|
||||
public byte[] getSigAlgParams() { return cert.getSigAlgParams(); }
|
||||
public boolean[] getIssuerUniqueID() {
|
||||
return cert.getIssuerUniqueID();
|
||||
}
|
||||
public boolean[] getSubjectUniqueID() {
|
||||
return cert.getSubjectUniqueID();
|
||||
}
|
||||
public boolean[] getKeyUsage() { return cert.getKeyUsage(); }
|
||||
public int getBasicConstraints() { return cert.getBasicConstraints(); }
|
||||
public byte[] getEncoded() throws CertificateEncodingException {
|
||||
return cert.getEncoded();
|
||||
}
|
||||
public void verify(PublicKey key) throws CertificateException,
|
||||
InvalidKeyException, NoSuchAlgorithmException,
|
||||
NoSuchProviderException, SignatureException {
|
||||
cert.verify(key);
|
||||
}
|
||||
public void verify(PublicKey key, String sigProvider) throws
|
||||
CertificateException, InvalidKeyException, NoSuchAlgorithmException,
|
||||
NoSuchProviderException, SignatureException {
|
||||
cert.verify(key, sigProvider);
|
||||
}
|
||||
public PublicKey getPublicKey() { return cert.getPublicKey(); }
|
||||
public String toString() { return cert.toString(); }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import java.io.File;
|
||||
import java.security.Security;
|
||||
import java.time.*;
|
||||
import java.util.*;
|
||||
import javax.net.ssl.*;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8346587
|
||||
* @summary Check that TLS Server certificates chaining back to distrusted
|
||||
* Camerfirma roots are invalid
|
||||
* @library /test/lib
|
||||
* @modules java.base/sun.security.validator
|
||||
* @run main/othervm Camerfirma after policyOn invalid
|
||||
* @run main/othervm Camerfirma after policyOff valid
|
||||
* @run main/othervm Camerfirma before policyOn valid
|
||||
* @run main/othervm Camerfirma before policyOff valid
|
||||
*/
|
||||
|
||||
public class Camerfirma {
|
||||
|
||||
private static final String certPath = "chains" + File.separator + "camerfirma";
|
||||
|
||||
// Each of the roots have a test certificate chain stored in a file
|
||||
// named "<root>-chain.pem".
|
||||
private static String[] rootsToTest = new String[] {
|
||||
"camerfirmachamberscommerceca", "camerfirmachambersca",
|
||||
"camerfirmachambersignca"};
|
||||
|
||||
// Date after the restrictions take effect
|
||||
private static final ZonedDateTime DISTRUST_DATE =
|
||||
LocalDate.of(2025, 04, 16).atStartOfDay(ZoneOffset.UTC);
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
// All of the test certificates are signed with SHA-1 so we need
|
||||
// to remove the constraint that disallows SHA-1 certificates.
|
||||
String prop = Security.getProperty("jdk.certpath.disabledAlgorithms");
|
||||
String newProp = prop.replace(", SHA1 jdkCA & usage TLSServer", "");
|
||||
Security.setProperty("jdk.certpath.disabledAlgorithms", newProp);
|
||||
|
||||
Distrust distrust = new Distrust(args);
|
||||
|
||||
X509TrustManager[] tms = new X509TrustManager[]{
|
||||
distrust.getTMF("PKIX", null),
|
||||
distrust.getTMF("SunX509", null)
|
||||
};
|
||||
|
||||
Date notBefore = distrust.getNotBefore(DISTRUST_DATE);
|
||||
distrust.testCertificateChain(certPath, notBefore, tms, rootsToTest);
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2024, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@@ -25,7 +25,7 @@ import java.io.*;
|
||||
import java.math.BigInteger;
|
||||
import java.security.*;
|
||||
import java.security.cert.*;
|
||||
import java.time.*;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.util.*;
|
||||
import javax.net.ssl.*;
|
||||
import sun.security.validator.Validator;
|
||||
@@ -34,95 +34,80 @@ import sun.security.validator.ValidatorException;
|
||||
import jdk.test.lib.security.SecurityUtils;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8337664 8341059
|
||||
* @summary Check that TLS Server certificates chaining back to distrusted
|
||||
* Entrust roots are invalid
|
||||
* @library /test/lib
|
||||
* @modules java.base/sun.security.validator
|
||||
* @run main/othervm Distrust after policyOn invalid
|
||||
* @run main/othervm Distrust after policyOff valid
|
||||
* @run main/othervm Distrust before policyOn valid
|
||||
* @run main/othervm Distrust before policyOff valid
|
||||
* Helper class that provides methods to facilitate testing of distrusted roots.
|
||||
*/
|
||||
|
||||
public class Distrust {
|
||||
public final class Distrust {
|
||||
|
||||
private static final String TEST_SRC = System.getProperty("test.src", ".");
|
||||
private static CertificateFactory cf;
|
||||
|
||||
// Each of the roots have a test certificate chain stored in a file
|
||||
// named "<root>-chain.pem".
|
||||
private static String[] rootsToTest = new String[] {
|
||||
"entrustevca", "entrustrootcaec1", "entrustrootcag2", "entrustrootcag4",
|
||||
"entrust2048ca", "affirmtrustcommercialca", "affirmtrustnetworkingca",
|
||||
"affirmtrustpremiumca", "affirmtrustpremiumeccca" };
|
||||
private final boolean before;
|
||||
private final boolean policyOn;
|
||||
private final boolean isValid;
|
||||
|
||||
// A date that is after the restrictions take effect
|
||||
private static final Date NOVEMBER_12_2024 =
|
||||
Date.from(LocalDate.of(2024, 11, 12)
|
||||
.atStartOfDay(ZoneOffset.UTC)
|
||||
.toInstant());
|
||||
|
||||
// A date that is a second before the restrictions take effect
|
||||
private static final Date BEFORE_NOVEMBER_12_2024 =
|
||||
Date.from(LocalDate.of(2024, 11, 12)
|
||||
.atStartOfDay(ZoneOffset.UTC)
|
||||
.minusSeconds(1)
|
||||
.toInstant());
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
cf = CertificateFactory.getInstance("X.509");
|
||||
|
||||
boolean before = args[0].equals("before");
|
||||
boolean policyOn = args[1].equals("policyOn");
|
||||
boolean isValid = args[2].equals("valid");
|
||||
public Distrust(String[] args) {
|
||||
before = args[0].equals("before");
|
||||
policyOn = args[1].equals("policyOn");
|
||||
isValid = args[2].equals("valid");
|
||||
|
||||
if (!policyOn) {
|
||||
// disable policy (default is on)
|
||||
Security.setProperty("jdk.security.caDistrustPolicies", "");
|
||||
}
|
||||
}
|
||||
|
||||
Date notBefore = before ? BEFORE_NOVEMBER_12_2024 : NOVEMBER_12_2024;
|
||||
public Date getNotBefore(ZonedDateTime distrustDate) {
|
||||
ZonedDateTime notBefore = before ? distrustDate.minusSeconds(1) : distrustDate;
|
||||
return Date.from(notBefore.toInstant());
|
||||
}
|
||||
|
||||
X509TrustManager pkixTM = getTMF("PKIX", null);
|
||||
X509TrustManager sunX509TM = getTMF("SunX509", null);
|
||||
for (String test : rootsToTest) {
|
||||
public void testCodeSigningChain(String certPath, String name, Date validationDate)
|
||||
throws Exception {
|
||||
System.err.println("Testing " + name + " code-signing chain");
|
||||
Validator v = Validator.getInstance(Validator.TYPE_PKIX,
|
||||
Validator.VAR_CODE_SIGNING,
|
||||
getParams());
|
||||
// set validation date so this will still pass when cert expires
|
||||
v.setValidationDate(validationDate);
|
||||
v.validate(loadCertificateChain(certPath, name));
|
||||
}
|
||||
|
||||
public void testCertificateChain(String certPath, Date notBefore, X509TrustManager[] tms,
|
||||
String... tests) throws Exception {
|
||||
for (String test : tests) {
|
||||
System.err.println("Testing " + test);
|
||||
X509Certificate[] chain = loadCertificateChain(test);
|
||||
X509Certificate[] chain = loadCertificateChain(certPath, test);
|
||||
|
||||
testTM(sunX509TM, chain, notBefore, isValid);
|
||||
testTM(pkixTM, chain, notBefore, isValid);
|
||||
for (X509TrustManager tm : tms) {
|
||||
testTM(tm, chain, notBefore, isValid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static X509TrustManager getTMF(String type,
|
||||
PKIXBuilderParameters params) throws Exception {
|
||||
public X509TrustManager getTMF(String type, PKIXBuilderParameters params) throws Exception {
|
||||
TrustManagerFactory tmf = TrustManagerFactory.getInstance(type);
|
||||
if (params == null) {
|
||||
tmf.init((KeyStore)null);
|
||||
tmf.init((KeyStore) null);
|
||||
} else {
|
||||
tmf.init(new CertPathTrustManagerParameters(params));
|
||||
}
|
||||
TrustManager[] tms = tmf.getTrustManagers();
|
||||
for (TrustManager tm : tms) {
|
||||
X509TrustManager xtm = (X509TrustManager)tm;
|
||||
return xtm;
|
||||
return (X509TrustManager) tm;
|
||||
}
|
||||
throw new Exception("No TrustManager for " + type);
|
||||
throw new RuntimeException("No TrustManager for " + type);
|
||||
}
|
||||
|
||||
private static PKIXBuilderParameters getParams() throws Exception {
|
||||
public PKIXBuilderParameters getParams() throws Exception {
|
||||
PKIXBuilderParameters pbp =
|
||||
new PKIXBuilderParameters(SecurityUtils.getCacertsKeyStore(),
|
||||
new X509CertSelector());
|
||||
new PKIXBuilderParameters(SecurityUtils.getCacertsKeyStore(),
|
||||
new X509CertSelector());
|
||||
pbp.setRevocationEnabled(false);
|
||||
return pbp;
|
||||
}
|
||||
|
||||
private static void testTM(X509TrustManager xtm, X509Certificate[] chain,
|
||||
Date notBefore, boolean valid) throws Exception {
|
||||
public void testTM(X509TrustManager xtm, X509Certificate[] chain,
|
||||
Date notBefore, boolean valid) {
|
||||
// Check if TLS Server certificate (the first element of the chain)
|
||||
// is issued after the specified notBefore date (should be rejected
|
||||
// unless distrust property is false). To do this, we need to
|
||||
@@ -130,67 +115,54 @@ public class Distrust {
|
||||
// after then.
|
||||
chain[0] = new DistrustedTLSServerCert(chain[0], notBefore);
|
||||
|
||||
// Wrap the intermediate and root CA certs in NonExpiringTLSServerCert
|
||||
// so it will never throw a CertificateExpiredException
|
||||
for (int i = 1; i < chain.length; i++) {
|
||||
chain[i] = new NonExpiringTLSServerCert(chain[i]);
|
||||
}
|
||||
|
||||
try {
|
||||
xtm.checkServerTrusted(chain, "ECDHE_RSA");
|
||||
if (!valid) {
|
||||
throw new Exception("chain should be invalid");
|
||||
throw new RuntimeException("chain should be invalid");
|
||||
}
|
||||
} catch (CertificateException ce) {
|
||||
// expired TLS certificates should not be treated as failure
|
||||
if (expired(ce)) {
|
||||
System.err.println("Test is N/A, chain is expired");
|
||||
return;
|
||||
}
|
||||
if (valid) {
|
||||
throw new Exception("Unexpected exception, chain " +
|
||||
"should be valid", ce);
|
||||
throw new RuntimeException("Unexpected exception, chain " +
|
||||
"should be valid", ce);
|
||||
}
|
||||
if (ce instanceof ValidatorException) {
|
||||
ValidatorException ve = (ValidatorException)ce;
|
||||
ValidatorException ve = (ValidatorException) ce;
|
||||
if (ve.getErrorType() != ValidatorException.T_UNTRUSTED_CERT) {
|
||||
ce.printStackTrace(System.err);
|
||||
throw new Exception("Unexpected exception: " + ce);
|
||||
throw new RuntimeException("Unexpected exception: " + ce);
|
||||
}
|
||||
} else {
|
||||
throw new Exception("Unexpected exception: " + ce);
|
||||
throw new RuntimeException(ce);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// check if a cause of exception is an expired cert
|
||||
private static boolean expired(CertificateException ce) {
|
||||
if (ce instanceof CertificateExpiredException) {
|
||||
return true;
|
||||
}
|
||||
Throwable t = ce.getCause();
|
||||
while (t != null) {
|
||||
if (t instanceof CertificateExpiredException) {
|
||||
return true;
|
||||
}
|
||||
t = t.getCause();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private static X509Certificate[] loadCertificateChain(String name)
|
||||
private X509Certificate[] loadCertificateChain(String certPath, String name)
|
||||
throws Exception {
|
||||
try (InputStream in = new FileInputStream(TEST_SRC + File.separator +
|
||||
name + "-chain.pem")) {
|
||||
if (cf == null) {
|
||||
cf = CertificateFactory.getInstance("X.509");
|
||||
}
|
||||
try (InputStream in = new FileInputStream(TEST_SRC + File.separator + certPath +
|
||||
File.separator + name + "-chain.pem")) {
|
||||
Collection<X509Certificate> certs =
|
||||
(Collection<X509Certificate>)cf.generateCertificates(in);
|
||||
(Collection<X509Certificate>) cf.generateCertificates(in);
|
||||
return certs.toArray(new X509Certificate[0]);
|
||||
}
|
||||
}
|
||||
|
||||
private static class DistrustedTLSServerCert extends X509Certificate {
|
||||
private static class NonExpiringTLSServerCert extends X509Certificate {
|
||||
private final X509Certificate cert;
|
||||
private final Date notBefore;
|
||||
DistrustedTLSServerCert(X509Certificate cert, Date notBefore) {
|
||||
NonExpiringTLSServerCert(X509Certificate cert) {
|
||||
this.cert = cert;
|
||||
this.notBefore = notBefore;
|
||||
}
|
||||
public Set<String> getCriticalExtensionOIDs() {
|
||||
return cert.getCriticalExtensionOIDs();
|
||||
return cert.getCriticalExtensionOIDs();
|
||||
}
|
||||
public byte[] getExtensionValue(String oid) {
|
||||
return cert.getExtensionValue(oid);
|
||||
@@ -201,19 +173,17 @@ public class Distrust {
|
||||
public boolean hasUnsupportedCriticalExtension() {
|
||||
return cert.hasUnsupportedCriticalExtension();
|
||||
}
|
||||
public void checkValidity() throws CertificateExpiredException,
|
||||
CertificateNotYetValidException {
|
||||
public void checkValidity() {
|
||||
// always pass
|
||||
}
|
||||
public void checkValidity(Date date) throws CertificateExpiredException,
|
||||
CertificateNotYetValidException {
|
||||
public void checkValidity(Date date) {
|
||||
// always pass
|
||||
}
|
||||
public int getVersion() { return cert.getVersion(); }
|
||||
public BigInteger getSerialNumber() { return cert.getSerialNumber(); }
|
||||
public Principal getIssuerDN() { return cert.getIssuerDN(); }
|
||||
public Principal getSubjectDN() { return cert.getSubjectDN(); }
|
||||
public Date getNotBefore() { return notBefore; }
|
||||
public Date getNotBefore() { return cert.getNotBefore(); }
|
||||
public Date getNotAfter() { return cert.getNotAfter(); }
|
||||
public byte[] getTBSCertificate() throws CertificateEncodingException {
|
||||
return cert.getTBSCertificate();
|
||||
@@ -228,22 +198,37 @@ public class Distrust {
|
||||
public boolean[] getSubjectUniqueID() {
|
||||
return cert.getSubjectUniqueID();
|
||||
}
|
||||
public boolean[] getKeyUsage() { return cert.getKeyUsage(); }
|
||||
public boolean[] getKeyUsage() {
|
||||
// Turn on the Digital Signature bit. Some certs that we want
|
||||
// to use as test certs don't have this bit turned on.
|
||||
boolean[] withDigitalSignature = cert.getKeyUsage();
|
||||
withDigitalSignature[0] = true;
|
||||
return withDigitalSignature;
|
||||
}
|
||||
public int getBasicConstraints() { return cert.getBasicConstraints(); }
|
||||
public byte[] getEncoded() throws CertificateEncodingException {
|
||||
return cert.getEncoded();
|
||||
}
|
||||
public void verify(PublicKey key) throws CertificateException,
|
||||
InvalidKeyException, NoSuchAlgorithmException,
|
||||
NoSuchProviderException, SignatureException {
|
||||
InvalidKeyException, NoSuchAlgorithmException,
|
||||
NoSuchProviderException, SignatureException {
|
||||
cert.verify(key);
|
||||
}
|
||||
public void verify(PublicKey key, String sigProvider) throws
|
||||
CertificateException, InvalidKeyException, NoSuchAlgorithmException,
|
||||
NoSuchProviderException, SignatureException {
|
||||
CertificateException, InvalidKeyException, NoSuchAlgorithmException,
|
||||
NoSuchProviderException, SignatureException {
|
||||
cert.verify(key, sigProvider);
|
||||
}
|
||||
public PublicKey getPublicKey() { return cert.getPublicKey(); }
|
||||
public String toString() { return cert.toString(); }
|
||||
}
|
||||
|
||||
private static class DistrustedTLSServerCert extends NonExpiringTLSServerCert {
|
||||
private final Date notBefore;
|
||||
DistrustedTLSServerCert(X509Certificate cert, Date notBefore) {
|
||||
super(cert);
|
||||
this.notBefore = notBefore;
|
||||
}
|
||||
public Date getNotBefore() { return notBefore; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import java.io.File;
|
||||
import java.time.*;
|
||||
import java.util.*;
|
||||
import javax.net.ssl.*;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8337664 8341059
|
||||
* @summary Check that TLS Server certificates chaining back to distrusted
|
||||
* Entrust roots are invalid
|
||||
* @library /test/lib
|
||||
* @modules java.base/sun.security.validator
|
||||
* @run main/othervm Entrust after policyOn invalid
|
||||
* @run main/othervm Entrust after policyOff valid
|
||||
* @run main/othervm Entrust before policyOn valid
|
||||
* @run main/othervm Entrust before policyOff valid
|
||||
*/
|
||||
|
||||
public class Entrust {
|
||||
|
||||
private static final String certPath = "chains" + File.separator + "entrust";
|
||||
|
||||
// Each of the roots have a test certificate chain stored in a file
|
||||
// named "<root>-chain.pem".
|
||||
private static String[] rootsToTest = new String[]{
|
||||
"entrustevca", "entrustrootcaec1", "entrustrootcag2", "entrustrootcag4",
|
||||
"entrust2048ca", "affirmtrustcommercialca", "affirmtrustnetworkingca",
|
||||
"affirmtrustpremiumca", "affirmtrustpremiumeccca"};
|
||||
|
||||
// Date when the restrictions take effect
|
||||
private static final ZonedDateTime DISTRUST_DATE =
|
||||
LocalDate.of(2024, 11, 12).atStartOfDay(ZoneOffset.UTC);
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Distrust distrust = new Distrust(args);
|
||||
|
||||
X509TrustManager[] tms = new X509TrustManager[]{
|
||||
distrust.getTMF("PKIX", null),
|
||||
distrust.getTMF("SunX509", null)
|
||||
};
|
||||
|
||||
Date notBefore = distrust.getNotBefore(DISTRUST_DATE);
|
||||
distrust.testCertificateChain(certPath, notBefore, tms, rootsToTest);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import javax.net.ssl.X509TrustManager;
|
||||
import java.io.File;
|
||||
import java.time.*;
|
||||
import java.util.*;
|
||||
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8207258 8216280
|
||||
* @summary Check that TLS Server certificates chaining back to distrusted
|
||||
* Symantec roots are invalid
|
||||
* @library /test/lib
|
||||
* @modules java.base/sun.security.validator
|
||||
* @run main/othervm Symantec after policyOn invalid
|
||||
* @run main/othervm Symantec after policyOff valid
|
||||
* @run main/othervm Symantec before policyOn valid
|
||||
* @run main/othervm Symantec before policyOff valid
|
||||
*/
|
||||
|
||||
public class Symantec {
|
||||
|
||||
private static final String certPath = "chains" + File.separator + "symantec";
|
||||
|
||||
// Each of the roots have a test certificate chain stored in a file
|
||||
// named "<root>-chain.pem".
|
||||
private static final String[] rootsToTest = new String[]{
|
||||
"geotrustprimarycag2", "geotrustprimarycag3", "geotrustuniversalca",
|
||||
"thawteprimaryrootca", "thawteprimaryrootcag2", "thawteprimaryrootcag3",
|
||||
"verisignclass3g3ca", "verisignclass3g4ca", "verisignclass3g5ca",
|
||||
"verisignuniversalrootca"
|
||||
};
|
||||
|
||||
// Each of the subCAs with a delayed distrust date have a test certificate
|
||||
// chain stored in a file named "<subCA>-chain.pem".
|
||||
private static String[] subCAsToTest = new String[]{"appleistca8g1"};
|
||||
|
||||
// Date when the restrictions take effect
|
||||
private static final ZonedDateTime ROOTS_DISTRUST_DATE =
|
||||
LocalDate.of(2019, 4, 17).atStartOfDay(ZoneOffset.UTC);
|
||||
|
||||
// Date when the subCA restrictions take effect
|
||||
private static final ZonedDateTime SUBCA_DISTRUST_DATE =
|
||||
LocalDate.of(2020, 1, 1).atStartOfDay(ZoneOffset.UTC);
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Distrust distrust = new Distrust(args);
|
||||
X509TrustManager[] tms = new X509TrustManager[]{
|
||||
distrust.getTMF("PKIX", null),
|
||||
distrust.getTMF("SunX509", null)
|
||||
};
|
||||
|
||||
// test chains issued through roots
|
||||
Date notBefore = distrust.getNotBefore(ROOTS_DISTRUST_DATE);
|
||||
distrust.testCertificateChain(certPath, notBefore, tms, rootsToTest);
|
||||
|
||||
// test chain if params are passed to TrustManager
|
||||
System.err.println("Testing verisignuniversalrootca with params");
|
||||
X509TrustManager[] tmsParams = new X509TrustManager[]{
|
||||
distrust.getTMF("PKIX", distrust.getParams())
|
||||
};
|
||||
distrust.testCertificateChain(certPath, notBefore, tmsParams,
|
||||
"verisignuniversalrootca");
|
||||
|
||||
// test code-signing chain (should be valid as restrictions don't apply)
|
||||
Date validationDate = new Date(1544197375493L);
|
||||
distrust.testCodeSigningChain(certPath, "verisignclass3g5ca-codesigning", validationDate);
|
||||
|
||||
// test chains issued through subCAs
|
||||
notBefore = distrust.getNotBefore(SUBCA_DISTRUST_DATE);
|
||||
distrust.testCertificateChain(certPath, notBefore, tms, subCAsToTest);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
Owner: CN=Camerfirma Corporate Server II - 2015,
|
||||
L=Madrid (see current address at https://www.camerfirma.com/address),
|
||||
SERIALNUMBER=A82743287,
|
||||
O=AC Camerfirma S.A., OU=AC CAMERFIRMA, C=ES
|
||||
Issuer: CN=Chambers of Commerce Root - 2008,
|
||||
O=AC Camerfirma S.A., SERIALNUMBER=A82743287,
|
||||
L=Madrid (see current address at www.camerfirma.com/address), C=EU
|
||||
Serial number: 621ff31c489ba136
|
||||
Valid from: Thu Jan 15 01:21:16 PST 2015 until: Tue Dec 15 01:21:16 PST 2037
|
||||
Certificate fingerprints:
|
||||
SHA1: FE:72:7A:78:EA:0C:03:35:CD:DA:9C:2E:D7:5F:D4:D4:6F:35:C2:EF
|
||||
SHA256: 66:EA:E2:70:9B:54:CD:D1:69:31:77:B1:33:2F:F0:36:CD:D0:F7:23:DB:30:39:ED:31:15:55:A6:CB:F5:FF:3E
|
||||
Signature algorithm name: SHA256withRSA
|
||||
Subject Public Key Algorithm: 4096-bit RSA key
|
||||
Version: 3
|
||||
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIIkzCCBnugAwIBAgIIYh/zHEiboTYwDQYJKoZIhvcNAQELBQAwga4xCzAJBgNV
|
||||
BAYTAkVVMUMwQQYDVQQHEzpNYWRyaWQgKHNlZSBjdXJyZW50IGFkZHJlc3MgYXQg
|
||||
d3d3LmNhbWVyZmlybWEuY29tL2FkZHJlc3MpMRIwEAYDVQQFEwlBODI3NDMyODcx
|
||||
GzAZBgNVBAoTEkFDIENhbWVyZmlybWEgUy5BLjEpMCcGA1UEAxMgQ2hhbWJlcnMg
|
||||
b2YgQ29tbWVyY2UgUm9vdCAtIDIwMDgwHhcNMTUwMTE1MDkyMTE2WhcNMzcxMjE1
|
||||
MDkyMTE2WjCB0zELMAkGA1UEBhMCRVMxFjAUBgNVBAsMDUFDIENBTUVSRklSTUEx
|
||||
GzAZBgNVBAoMEkFDIENhbWVyZmlybWEgUy5BLjESMBAGA1UEBRMJQTgyNzQzMjg3
|
||||
MUswSQYDVQQHDEJNYWRyaWQgKHNlZSBjdXJyZW50IGFkZHJlc3MgYXQgaHR0cHM6
|
||||
Ly93d3cuY2FtZXJmaXJtYS5jb20vYWRkcmVzcykxLjAsBgNVBAMMJUNhbWVyZmly
|
||||
bWEgQ29ycG9yYXRlIFNlcnZlciBJSSAtIDIwMTUwggIiMA0GCSqGSIb3DQEBAQUA
|
||||
A4ICDwAwggIKAoICAQC3ndKNpFufVq9v+15dRoT9oVkgwEfDdsPw0Ly0R+eM5MOk
|
||||
35zEil/+hqEMbQmcvosAh6I8iAskkXasqh+SMbMIjvXbDyNILeGzsoP0uz3btHM7
|
||||
oN3yHXDhhd1NGNocP54Wehe9+RE3WP0yEEo+D2YmMwUHuv4KiXtveiPksv+Xkkz5
|
||||
auqppPMaYlD6y49AEsGY2zOEUI8PO4+tOxUKhvsiMuW817vH3VdmMwOjRe0SdYAi
|
||||
YLQIiyqJGNdEo3u+fw8UXxaJSRXhmF+jUn5DvdzWWNAxxwAKy95EPlpLQsx/7t2W
|
||||
2ntoELPHGJk4V+/yA0d2olLEqBADkRtP2HiC0wly+zp7OGmjtfjbqLrVjmo/mLP3
|
||||
zpmYbpUtubrHiY0rlW6wo5FZLcTUvcAxFjxLWVIELPjnTebOuHvoJTb97rhA1Oqq
|
||||
woq5FWJHFI9idzXzFLO0LX/4ugI9LZWxmvWW0O4CePtnhp0aNE/GgAw6lMx7bjZe
|
||||
DXxxQnUDEE/mAqOHRUCnvRUSKVbuBBE0oz5fz3nUwcWVVgrm/jkgqTX4EqnZe+yB
|
||||
mKV6hFEYV+1oVh7kzNN4Hg7nzGuByS7cCuBEwULFhfUja1Bu9EqgndJ3CV0XCWIA
|
||||
XVhJnPNPi6y4W11jLJ7XSGSz3sCh21g0Gpgi2pXHGDB65Jc/QJHZ5ZaHCrzFnwID
|
||||
AQABo4ICjDCCAogwEgYDVR0TAQH/BAgwBgEB/wIBAjAdBgNVHQ4EFgQUY+nw8FYA
|
||||
aGWwIWwOXNcZCJ0INGUwgeMGA1UdIwSB2zCB2IAU+SSsD7K1+HnA+mCIG8TZTQKe
|
||||
FxmhgbSkgbEwga4xCzAJBgNVBAYTAkVVMUMwQQYDVQQHEzpNYWRyaWQgKHNlZSBj
|
||||
dXJyZW50IGFkZHJlc3MgYXQgd3d3LmNhbWVyZmlybWEuY29tL2FkZHJlc3MpMRIw
|
||||
EAYDVQQFEwlBODI3NDMyODcxGzAZBgNVBAoTEkFDIENhbWVyZmlybWEgUy5BLjEp
|
||||
MCcGA1UEAxMgQ2hhbWJlcnMgb2YgQ29tbWVyY2UgUm9vdCAtIDIwMDiCCQCj2kJ+
|
||||
pLGu2jB6BggrBgEFBQcBAQRuMGwwQgYIKwYBBQUHMAKGNmh0dHA6Ly93d3cuY2Ft
|
||||
ZXJmaXJtYS5jb20vY2VydHMvcm9vdF9jaGFtYmVycy0yMDA4LmNydDAmBggrBgEF
|
||||
BQcwAYYaaHR0cDovL29jc3AuY2FtZXJmaXJtYS5jb20wDgYDVR0PAQH/BAQDAgEG
|
||||
MCcGA1UdJQQgMB4GCCsGAQUFBwMEBggrBgEFBQcDAgYIKwYBBQUHAwEwPgYDVR0g
|
||||
BDcwNTAzBgRVHSAAMCswKQYIKwYBBQUHAgEWHWh0dHBzOi8vcG9saWN5LmNhbWVy
|
||||
ZmlybWEuY29tMHgGA1UdHwRxMG8wNaAzoDGGL2h0dHA6Ly9jcmwuY2FtZXJmaXJt
|
||||
YS5jb20vY2hhbWJlcnNyb290LTIwMDguY3JsMDagNKAyhjBodHRwOi8vY3JsMS5j
|
||||
YW1lcmZpcm1hLmNvbS9jaGFtYmVyc3Jvb3QtMjAwOC5jcmwwDQYJKoZIhvcNAQEL
|
||||
BQADggIBAKhqaZwalwf89f4wPqfcE/lrsHdx8+q9RG46ouBXhTJMqXjwstXOZSL4
|
||||
3Dqs3GaVuMPIM9OG7CK0I93mAt+FWtr49ACFTyPBxPg/knrZ4RHyEto+/6w0WZ9H
|
||||
owNw0aUg3ZAkhIvMRPVou8PrVukqj2lGKIh3hRdrbHwYwwmKKNlWBoC9gWk3mTYU
|
||||
zfNt/KTzQCCl5+s6YDa+XInMLWaGd/pE/e++a22vY24cv7kN3NAFMjAMELPwh9ic
|
||||
zLoPX8B52r+GgwpKY0c0hZdVTii6psLQ+BenyMlh+6lHRBOlTCSRtNi16o7H8fRq
|
||||
CY2wyQi7N+EmdY1DhvECCi1nLbOnIx1bSAW0cVwPVrjQ/vsAxPNc3SGe/Xnanm3a
|
||||
zAgFspzeuAhxxG0VKOvtPBnPQNsQ0cK664+IrWRsfa6aYhEfKvfsn5o4HpBWDobf
|
||||
zrtNbqjjOuiM6JkT+DxXo5UK7t2q75KCJiimTtAuPcZ5wErZISLvZ34BodIHL2xK
|
||||
b3Vww7K2FE1QaNsuQkGbUk++B9/+vV3H57vzskObdFWeWKSCpxIil4vZwIIH17zn
|
||||
WU+O2WIY1F0aO9zp3E7qwfmYT4MJ38NF9R7FSlxRlgVc1uUHu/iyUU4N1O6F3VdX
|
||||
P2Y+tgLFZLYV4kApfXk5l9h94dgKyfVcIpvS6yVpLfONPnlCNOxy
|
||||
-----END CERTIFICATE-----
|
||||
@@ -0,0 +1,48 @@
|
||||
Owner: CN=AC Camerfirma Certificados Camerales,
|
||||
O=AC Camerfirma SA, SERIALNUMBER=A82743287,
|
||||
L=Madrid (see current address at www.camerfirma.com/address),
|
||||
EMAILADDRESS=ac_camerfirma_cc@camerfirma.com, C=ES
|
||||
Issuer: CN=Chambers of Commerce Root, OU=http://www.chambersign.org,
|
||||
O=AC Camerfirma SA CIF A82743287, C=EU
|
||||
Serial number: 5
|
||||
Valid from: Mon Feb 09 07:42:47 PST 2004 until: Thu Feb 09 07:42:47 PST 2034
|
||||
Certificate fingerprints:
|
||||
SHA1: 9F:36:B4:BE:9D:AF:1C:91:01:B2:D7:61:58:FB:95:CB:53:82:01:10
|
||||
SHA256: C7:D8:43:81:E1:1F:7C:57:46:77:1A:F5:B0:50:DC:51:FC:6F:DA:D6:F6:F3:5B:B5:3A:3D:E9:13:82:2E:A0:9E
|
||||
Signature algorithm name: SHA1withRSA (weak)
|
||||
Subject Public Key Algorithm: 2048-bit RSA key
|
||||
Version: 3
|
||||
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFwDCCBKigAwIBAgIBBTANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJFVTEn
|
||||
MCUGA1UEChMeQUMgQ2FtZXJmaXJtYSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQL
|
||||
ExpodHRwOi8vd3d3LmNoYW1iZXJzaWduLm9yZzEiMCAGA1UEAxMZQ2hhbWJlcnMg
|
||||
b2YgQ29tbWVyY2UgUm9vdDAeFw0wNDAyMDkxNTQyNDdaFw0zNDAyMDkxNTQyNDda
|
||||
MIHgMQswCQYDVQQGEwJFUzEuMCwGCSqGSIb3DQEJARYfYWNfY2FtZXJmaXJtYV9j
|
||||
Y0BjYW1lcmZpcm1hLmNvbTFDMEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBh
|
||||
ZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNvbS9hZGRyZXNzKTESMBAGA1UEBRMJ
|
||||
QTgyNzQzMjg3MRkwFwYDVQQKExBBQyBDYW1lcmZpcm1hIFNBMS0wKwYDVQQDEyRB
|
||||
QyBDYW1lcmZpcm1hIENlcnRpZmljYWRvcyBDYW1lcmFsZXMwggEgMA0GCSqGSIb3
|
||||
DQEBAQUAA4IBDQAwggEIAoIBAQCjxnvvj01f36lgGhihRYVf1fAPEXsTJKrY4aLQ
|
||||
cEUSh5szZE7VTtGiyMTMc2uCmnaXafjYHK8Lgmy6T9xxGEZ5OS4x6rgtuPyy13AP
|
||||
tu3X3Y2kPVLu7ZMw5HoQC64wBj6YcnxTnBwmVW05DjzRXp6OyBIEKEaAB9vv2qEl
|
||||
fh/Y234FG6Wd/ut1s0ScRZAo+6CSMNQxaY+ryXKD11uWkzWXJa9UZOasG7z4uPqc
|
||||
Gr4/Hz2/CTLDTgp0xkMJYuzOztpUvOACrxlkS2utKUwVlAikJnboNwf/en94RbHN
|
||||
zkKc5t0SAbzCf57ueawbzxSdPa+SAC25FNur64FKkfdq5PPjAgEDo4IB5TCCAeEw
|
||||
EgYDVR0TAQH/BAgwBgEB/wIBCzA8BgNVHR8ENTAzMDGgL6AthitodHRwOi8vY3Js
|
||||
LmNoYW1iZXJzaWduLm9yZy9jaGFtYmVyc3Jvb3QuY3JsMB0GA1UdDgQWBBS2H06d
|
||||
HGiRLjdyYOFGj1qlKjExuTCBqwYDVR0jBIGjMIGggBTjlPWxTenboSlbV4tNdgZ2
|
||||
4dGiiqGBhKSBgTB/MQswCQYDVQQGEwJFVTEnMCUGA1UEChMeQUMgQ2FtZXJmaXJt
|
||||
YSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1iZXJz
|
||||
aWduLm9yZzEiMCAGA1UEAxMZQ2hhbWJlcnMgb2YgQ29tbWVyY2UgUm9vdIIBADAO
|
||||
BgNVHQ8BAf8EBAMCAYYwKgYDVR0RBCMwIYEfYWNfY2FtZXJmaXJtYV9jY0BjYW1l
|
||||
cmZpcm1hLmNvbTAnBgNVHRIEIDAegRxjaGFtYmVyc3Jvb3RAY2hhbWJlcnNpZ24u
|
||||
b3JnMFsGA1UdIARUMFIwUAYLKwYBBAGBhy4KCQEwQTA/BggrBgEFBQcCARYzaHR0
|
||||
cDovL2Nwcy5jYW1lcmZpcm1hLmNvbS9jcHMvYWNfY2FtZXJmaXJtYV9jYy5odG1s
|
||||
MA0GCSqGSIb3DQEBBQUAA4IBAQBl8KoPBYL//EBonqQWS0N+hLfxImP1eQ6nac+v
|
||||
R5QfF/0w+VCTkShfKwHaa6V/W1dPlVwXSECuvXHkX6DYrtxFGGFB6qxuP1rkIpRs
|
||||
sTkAlpvOx3REiFjIkhsijKd/ijvqxjbMbuYU+EFACK/jQIRoj+LEEZ+haiqbALZB
|
||||
Iqq/26HTqX0itDosBj6M94YWcIpbTDefQNWCGsSnZcw2+k+az/wAOZT6xAxlnEim
|
||||
HpDDlgRsmaLrHpDPDoIRYOih0gbJTnn4mKex9Wgr0sZ+XFl03j+bvcXL1tiuQnwb
|
||||
9dMRDe/OdXABT35W4ZzLbpost65ZW3Tx+oi/bLbmu6pbKCgs
|
||||
-----END CERTIFICATE-----
|
||||
@@ -0,0 +1,62 @@
|
||||
Owner: CN=AC Camerfirma - 2009,
|
||||
L=Madrid (see current address at https://www.camerfirma.com/address),
|
||||
SERIALNUMBER=A82743287, O=AC Camerfirma S.A., C=ES
|
||||
Issuer: CN=Global Chambersign Root - 2008,
|
||||
O=AC Camerfirma S.A., SERIALNUMBER=A82743287,
|
||||
L=Madrid (see current address at www.camerfirma.com/address), C=EU
|
||||
Serial number: 2
|
||||
Valid from: Mon Mar 16 10:16:25 PDT 2009 until: Sun Mar 11 10:16:25 PDT 2029
|
||||
Certificate fingerprints:
|
||||
SHA1: BA:BA:69:CF:D5:CC:C9:4D:05:6B:5B:E7:80:5F:E2:03:CB:EB:5C:57
|
||||
SHA256: B6:8D:5D:9B:4E:A6:35:95:7C:0C:32:15:C2:0D:35:B2:21:7B:69:E3:49:C7:A3:04:C4:F9:7F:20:C4:08:1F:88
|
||||
Signature algorithm name: SHA1withRSA (weak)
|
||||
Subject Public Key Algorithm: 4096-bit RSA key
|
||||
Version: 3
|
||||
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIIPzCCBiegAwIBAgIBAjANBgkqhkiG9w0BAQUFADCBrDELMAkGA1UEBhMCRVUx
|
||||
QzBBBgNVBAcTOk1hZHJpZCAoc2VlIGN1cnJlbnQgYWRkcmVzcyBhdCB3d3cuY2Ft
|
||||
ZXJmaXJtYS5jb20vYWRkcmVzcykxEjAQBgNVBAUTCUE4Mjc0MzI4NzEbMBkGA1UE
|
||||
ChMSQUMgQ2FtZXJmaXJtYSBTLkEuMScwJQYDVQQDEx5HbG9iYWwgQ2hhbWJlcnNp
|
||||
Z24gUm9vdCAtIDIwMDgwHhcNMDkwMzE2MTcxNjI1WhcNMjkwMzExMTcxNjI1WjCB
|
||||
qjELMAkGA1UEBhMCRVMxGzAZBgNVBAoTEkFDIENhbWVyZmlybWEgUy5BLjESMBAG
|
||||
A1UEBRMJQTgyNzQzMjg3MUswSQYDVQQHE0JNYWRyaWQgKHNlZSBjdXJyZW50IGFk
|
||||
ZHJlc3MgYXQgaHR0cHM6Ly93d3cuY2FtZXJmaXJtYS5jb20vYWRkcmVzcykxHTAb
|
||||
BgNVBAMTFEFDIENhbWVyZmlybWEgLSAyMDA5MIICIjANBgkqhkiG9w0BAQEFAAOC
|
||||
Ag8AMIICCgKCAgEAmbHxFEYTJmMdPcYiPlWUGZu2+tQo4voohYi3dwCwoVuGdHSp
|
||||
kyoqs1B3YGx4u5KT4n0A7+Bb8YQ/QzbNy7UQ4JXAK+rT8JpNeKIvfN4lHnQJaChE
|
||||
4fdn0KpvHWymaNq2k+EbQClquZB6OsTLvsivwSuSnyLcUw5rbajj53wq77fwB12y
|
||||
phMjwz2AnD1BvHZd3vLOaH1jRQP3zzNmyjT/Oj6+jdux7SBKlJWgQEaKflwcvYyc
|
||||
DPFPhGM4KPwEGX61PCrS+l8Lw0Kdy6K4lE+GrfgJrXM5m1Ey1R0c9McYQQPAtYcm
|
||||
cOnHHgkJdEAFVDa76T9C+lcMP6DNckbJIyc/ENrmM2v4rq/JnsJKEEx0VLyLizQx
|
||||
cGU3gp4ckg0ImQ9hV3H/DLWEqfrPuD++zaV81gpstnc9+pLg0Jibvwg3qvIr7nS5
|
||||
acc//qqxH0iJGYoStHW5J5HoM9HcBvhACq5rjzjrNLPYSJqbPJwBHKcql/uUjQ6S
|
||||
SVWe3/CeJp6/vGuY1aRXAk9c/8oO0ZDrLKE8LsUgZesTLnWGd1LQcyQf6UMG1nb9
|
||||
5C3eZRkCVpKma6Hl/SUQNukerlbLOU9InFGNPdeEVq1Jo62XeEi8KMbTPdXou6Yl
|
||||
rpe99dFnOUjVOdY7gfBGSgIVJjORqf/V70jwsxcYz7j6PKl0XulJs06vpSECAwEA
|
||||
AaOCAmowggJmMBIGA1UdEwEB/wQIMAYBAf8CAQIwHQYDVR0OBBYEFMgAD/zGUvyf
|
||||
2ztkLjK5bi5x82V5MIHhBgNVHSMEgdkwgdaAFLkJypwe29NsOmuu7VTxW5MGNS5e
|
||||
oYGypIGvMIGsMQswCQYDVQQGEwJFVTFDMEEGA1UEBxM6TWFkcmlkIChzZWUgY3Vy
|
||||
cmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNvbS9hZGRyZXNzKTESMBAG
|
||||
A1UEBRMJQTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMuQS4xJzAl
|
||||
BgNVBAMTHkdsb2JhbCBDaGFtYmVyc2lnbiBSb290IC0gMjAwOIIJAMnN0+nVfSPO
|
||||
MH0GCCsGAQUFBwEBBHEwbzBFBggrBgEFBQcwAoY5aHR0cDovL3d3dy5jYW1lcmZp
|
||||
cm1hLmNvbS9jZXJ0cy9yb290X2NoYW1iZXJzaWduLTIwMDguY3J0MCYGCCsGAQUF
|
||||
BzABhhpodHRwOi8vb2NzcC5jYW1lcmZpcm1hLmNvbTAOBgNVHQ8BAf8EBAMCAQYw
|
||||
PgYDVR0gBDcwNTAzBgRVHSAAMCswKQYIKwYBBQUHAgEWHWh0dHBzOi8vcG9saWN5
|
||||
LmNhbWVyZmlybWEuY29tMH4GA1UdHwR3MHUwOKA2oDSGMmh0dHA6Ly9jcmwuY2Ft
|
||||
ZXJmaXJtYS5jb20vY2hhbWJlcnNpZ25yb290LTIwMDguY3JsMDmgN6A1hjNodHRw
|
||||
Oi8vY3JsMS5jYW1lcmZpcm1hLmNvbS9jaGFtYmVyc2lnbnJvb3QtMjAwOC5jcmww
|
||||
DQYJKoZIhvcNAQEFBQADggIBABNYG4jBwoI7e8pCuUyDc6rwpE9H6AgrUdL7O1xK
|
||||
TgTjDGBrMOBK+ZPS4Si8J3yZngvSrL694a1HmiiblJ+CmCdNGli2nBBM+OPK3tQB
|
||||
4TW6hgkIe3vSNg/9o9y6+MAJcm8Kn0nPCBkSRME87NwvpehtekuF1G2ng1KDVwAn
|
||||
F+eCXfNanEwY++vWbJAuPE69Z/0+rCgNyH1PzihiNu6vrUlSlLWKaG34O1DEttX+
|
||||
SsWTpEbpH9w5y9Vmw6WQ/B5nfhPM551HaMbiGgSxT9jHmf8APYQ3iT8EktcdTAdw
|
||||
m1miiyxfKG+WjPT7P/x8Np1spJZw+sNIDTLdZ0T1XQ6obVkBTFUDSULKW8949HDu
|
||||
VSwdl9Hu9lkDzzh9tyVYwwjEWVFZOiD/4TPVLfphf4ZEiyHt5YpNd9kZJIGGDxdc
|
||||
CdtzPm2dQODFpv72LnPQHbuBQPJ71zkoAmyeM/1Qj0DlrFsPcYnbRasck1VmYgDc
|
||||
Xc0+is0wcgCd7Gpx1zpEeVqwMD96am2xZPzd6nsbXvo+6TzsKLRMJo6nOERwrzuI
|
||||
F+/eq3WXxYMt2UenJsHqwSgPJRMdl3SFz0+SZN0viHeLuwb7qaHN74qC6GP8yHGp
|
||||
2xe6Z11mJDPLDSrQQ2dOceSJ1LurJgLP7amYmFlWwVnmM7LnfShhMWMV+MDrICnL
|
||||
2ksL
|
||||
-----END CERTIFICATE-----
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@@ -168,12 +168,13 @@ class RuleRec {
|
||||
rec.toYear = Integer.parseInt(token);
|
||||
} catch (NumberFormatException e) {
|
||||
// it's not integer
|
||||
if ("min".equals(token) || "minimum".equals(token)) {
|
||||
int len = token.length();
|
||||
if (token.regionMatches(true, 0, "minimum", 0, len)) {
|
||||
rec.fromYear = Zoneinfo.getMinYear();
|
||||
} else if ("max".equals(token) || "maximum".equals(token)) {
|
||||
} else if (token.regionMatches(true, 0, "maximum", 0, len)) {
|
||||
rec.toYear = Integer.MAX_VALUE;
|
||||
rec.isLastRule = true;
|
||||
} else if ("only".equals(token)) {
|
||||
} else if (token.regionMatches(true, 0, "only", 0, len)) {
|
||||
rec.toYear = rec.fromYear;
|
||||
} else {
|
||||
Main.panic("invalid year value: "+token);
|
||||
|
||||
@@ -50,7 +50,9 @@ public class TestZoneInfo310 {
|
||||
"..", "..", "make", "data", "tzdata");
|
||||
String tzfiles = "africa antarctica asia australasia europe northamerica southamerica backward etcetera gmt";
|
||||
Path jdk_tzdir = Paths.get(System.getProperty("test.src"), "tzdata_jdk");
|
||||
String jdk_tzfiles = "jdk11_backward";
|
||||
// tz2024b_overridden_zones file is created to preserve the behaviour of
|
||||
// "EST", "MST", and "HST" when timezone 2024b changes are applied
|
||||
String jdk_tzfiles = "jdk11_backward tz2024b_overridden_zones";
|
||||
String zidir = TESTDIR + File.separator + "zi";
|
||||
File fZidir = new File(zidir);
|
||||
if (!fZidir.exists()) {
|
||||
|
||||
@@ -240,8 +240,9 @@ class Zoneinfo {
|
||||
continue;
|
||||
}
|
||||
String token = tokens.nextToken();
|
||||
int len = token.length();
|
||||
|
||||
if (continued || "Zone".equals(token)) {
|
||||
if (continued || token.regionMatches(true, 0, "Zone", 0, len)){
|
||||
if (zone == null) {
|
||||
if (!tokens.hasMoreTokens()) {
|
||||
panic("syntax error: zone no more token");
|
||||
@@ -268,7 +269,7 @@ class Zoneinfo {
|
||||
}
|
||||
zone = null;
|
||||
}
|
||||
} else if ("Rule".equals(token)) {
|
||||
} else if (token.regionMatches(true, 0, "Rule", 0, len)) {
|
||||
if (!tokens.hasMoreTokens()) {
|
||||
panic("syntax error: rule no more token");
|
||||
}
|
||||
@@ -281,7 +282,7 @@ class Zoneinfo {
|
||||
RuleRec rrec = RuleRec.parse(tokens);
|
||||
rrec.setLine(line);
|
||||
rule.add(rrec);
|
||||
} else if ("Link".equals(token)) {
|
||||
} else if (token.regionMatches(true, 0, "Link", 0, len)) {
|
||||
// Link <newname> <oldname>
|
||||
try {
|
||||
String name1 = tokens.nextToken();
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
#
|
||||
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License version 2 only, as
|
||||
# published by the Free Software Foundation.
|
||||
#
|
||||
# This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
# version 2 for more details (a copy is included in the LICENSE file that
|
||||
# accompanied this code).
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License version
|
||||
# 2 along with this work; if not, write to the Free Software Foundation,
|
||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
# or visit www.oracle.com if you need additional information or have any
|
||||
# questions.
|
||||
|
||||
# TZdata2024b changes announced on 5th September 2024 includes changes to
|
||||
# "EST", "MST", and "HST", i.e., changing those time zones from distinct
|
||||
# time zones to links to other time zones. Previously
|
||||
# they were defined as fixed offset zones,
|
||||
# e.g., "EST" is "-05:00" without any DST transitions.
|
||||
# With 2024b, "EST" is now a link to "America/Panama."
|
||||
# This change has Java 8+ specification implications in java.time.ZoneId.SHORT_IDS field
|
||||
# Solution for jdk24+ to modify the mappings in ZoneId class which requires modification of the spec.
|
||||
# Update releases will not make the ZoneId changes due to current specification.
|
||||
|
||||
# Zone NAME GMTOFF RULES/SAVE FORMAT [UNTIL]
|
||||
Zone EST -5:00 - EST
|
||||
Zone MST -7:00 - MST
|
||||
Zone HST -10:00 - HST
|
||||
265
test/jdk/tools/jar/ExtractFilesTest.java
Normal file
265
test/jdk/tools/jar/ExtractFilesTest.java
Normal file
@@ -0,0 +1,265 @@
|
||||
/*
|
||||
* Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8335912
|
||||
* @summary test extract jar files overwrite existing files behavior
|
||||
* @library /test/lib
|
||||
* @modules jdk.jartool
|
||||
* @build jdk.test.lib.Platform
|
||||
* jdk.test.lib.util.FileUtils
|
||||
* @run junit/othervm ExtractFilesTest
|
||||
*/
|
||||
|
||||
import org.junit.jupiter.api.AfterAll;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.TestInstance;
|
||||
import org.junit.jupiter.api.TestInstance.Lifecycle;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.PrintStream;
|
||||
import java.io.UncheckedIOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Arrays;
|
||||
import java.util.spi.ToolProvider;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import jdk.test.lib.util.FileUtils;
|
||||
|
||||
@TestInstance(Lifecycle.PER_CLASS)
|
||||
public class ExtractFilesTest {
|
||||
private static final ToolProvider JAR_TOOL = ToolProvider.findFirst("jar")
|
||||
.orElseThrow(() ->
|
||||
new RuntimeException("jar tool not found")
|
||||
);
|
||||
|
||||
private final String nl = System.lineSeparator();
|
||||
private final ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
private final PrintStream out = new PrintStream(baos);
|
||||
|
||||
@BeforeAll
|
||||
public void setupJar() throws IOException {
|
||||
mkdir("test1 test2");
|
||||
echo("testfile1", "test1/testfile1");
|
||||
echo("testfile2", "test2/testfile2");
|
||||
jar("cf test.jar -C test1 . -C test2 .");
|
||||
rm("test1 test2");
|
||||
}
|
||||
|
||||
@AfterAll
|
||||
public void cleanup() {
|
||||
rm("test.jar");
|
||||
}
|
||||
|
||||
/**
|
||||
* Regular clean extract with expected output.
|
||||
*/
|
||||
@Test
|
||||
public void testExtract() throws IOException {
|
||||
jar("xvf test.jar");
|
||||
println();
|
||||
String output = " created: META-INF/" + nl +
|
||||
" inflated: META-INF/MANIFEST.MF" + nl +
|
||||
" inflated: testfile1" + nl +
|
||||
" inflated: testfile2" + nl;
|
||||
rm("META-INF testfile1 testfile2");
|
||||
Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract should overwrite existing file as default behavior.
|
||||
*/
|
||||
@Test
|
||||
public void testOverwrite() throws IOException {
|
||||
touch("testfile1");
|
||||
jar("xvf test.jar");
|
||||
println();
|
||||
String output = " created: META-INF/" + nl +
|
||||
" inflated: META-INF/MANIFEST.MF" + nl +
|
||||
" inflated: testfile1" + nl +
|
||||
" inflated: testfile2" + nl;
|
||||
Assertions.assertEquals("testfile1", cat("testfile1"));
|
||||
rm("META-INF testfile1 testfile2");
|
||||
Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract with legacy style option `k` should preserve existing files.
|
||||
*/
|
||||
@Test
|
||||
public void testKeptOldFile() throws IOException {
|
||||
touch("testfile1");
|
||||
jar("xkvf test.jar");
|
||||
println();
|
||||
String output = " created: META-INF/" + nl +
|
||||
" inflated: META-INF/MANIFEST.MF" + nl +
|
||||
" skipped: testfile1 exists" + nl +
|
||||
" inflated: testfile2" + nl;
|
||||
Assertions.assertEquals("", cat("testfile1"));
|
||||
Assertions.assertEquals("testfile2", cat("testfile2"));
|
||||
rm("META-INF testfile1 testfile2");
|
||||
Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract with gnu style -k should preserve existing files.
|
||||
*/
|
||||
@Test
|
||||
public void testGnuOptionsKeptOldFile() throws IOException {
|
||||
touch("testfile1 testfile2");
|
||||
jar("-x -k -v -f test.jar");
|
||||
println();
|
||||
String output = " created: META-INF/" + nl +
|
||||
" inflated: META-INF/MANIFEST.MF" + nl +
|
||||
" skipped: testfile1 exists" + nl +
|
||||
" skipped: testfile2 exists" + nl;
|
||||
Assertions.assertEquals("", cat("testfile1"));
|
||||
Assertions.assertEquals("", cat("testfile2"));
|
||||
rm("META-INF testfile1 testfile2");
|
||||
Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract with gnu style long option --keep-old-files should preserve existing files.
|
||||
*/
|
||||
@Test
|
||||
public void testGnuLongOptionsKeptOldFile() throws IOException {
|
||||
touch("testfile2");
|
||||
jar("-x --keep-old-files -v -f test.jar");
|
||||
println();
|
||||
String output = " created: META-INF/" + nl +
|
||||
" inflated: META-INF/MANIFEST.MF" + nl +
|
||||
" inflated: testfile1" + nl +
|
||||
" skipped: testfile2 exists" + nl;
|
||||
Assertions.assertEquals("testfile1", cat("testfile1"));
|
||||
Assertions.assertEquals("", cat("testfile2"));
|
||||
rm("META-INF testfile1 testfile2");
|
||||
Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
|
||||
}
|
||||
|
||||
/**
|
||||
* Test jar will issue warning when use keep option in non-extraction mode.
|
||||
*/
|
||||
@Test
|
||||
public void testWarningOnInvalidKeepOption() throws IOException {
|
||||
var err = jar("tkf test.jar");
|
||||
println();
|
||||
|
||||
String output = "META-INF/" + nl +
|
||||
"META-INF/MANIFEST.MF" + nl +
|
||||
"testfile1" + nl +
|
||||
"testfile2" + nl;
|
||||
|
||||
Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
|
||||
Assertions.assertEquals("Warning: The --keep-old-files/-k/k option is not valid with current usage, will be ignored." + nl, err);
|
||||
}
|
||||
|
||||
private Stream<Path> mkpath(String... args) {
|
||||
return Arrays.stream(args).map(d -> Path.of(".", d.split("/")));
|
||||
}
|
||||
|
||||
private void mkdir(String cmdline) {
|
||||
System.out.println("mkdir -p " + cmdline);
|
||||
mkpath(cmdline.split(" +")).forEach(p -> {
|
||||
try {
|
||||
Files.createDirectories(p);
|
||||
} catch (IOException x) {
|
||||
throw new UncheckedIOException(x);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void touch(String cmdline) {
|
||||
System.out.println("touch " + cmdline);
|
||||
mkpath(cmdline.split(" +")).forEach(p -> {
|
||||
try {
|
||||
Files.createFile(p);
|
||||
} catch (IOException x) {
|
||||
throw new UncheckedIOException(x);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void echo(String text, String path) {
|
||||
System.out.println("echo '" + text + "' > " + path);
|
||||
try {
|
||||
var p = Path.of(".", path.split("/"));
|
||||
Files.writeString(p, text);
|
||||
} catch (IOException x) {
|
||||
throw new UncheckedIOException(x);
|
||||
}
|
||||
}
|
||||
|
||||
private String cat(String path) {
|
||||
System.out.println("cat " + path);
|
||||
try {
|
||||
return Files.readString(Path.of(path));
|
||||
} catch (IOException x) {
|
||||
throw new UncheckedIOException(x);
|
||||
}
|
||||
}
|
||||
|
||||
private void rm(String cmdline) {
|
||||
System.out.println("rm -rf " + cmdline);
|
||||
mkpath(cmdline.split(" +")).forEach(p -> {
|
||||
try {
|
||||
if (Files.isDirectory(p)) {
|
||||
FileUtils.deleteFileTreeWithRetry(p);
|
||||
} else {
|
||||
FileUtils.deleteFileIfExistsWithRetry(p);
|
||||
}
|
||||
} catch (IOException x) {
|
||||
throw new UncheckedIOException(x);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private String jar(String cmdline) throws IOException {
|
||||
System.out.println("jar " + cmdline);
|
||||
baos.reset();
|
||||
|
||||
// the run method catches IOExceptions, we need to expose them
|
||||
ByteArrayOutputStream baes = new ByteArrayOutputStream();
|
||||
PrintStream err = new PrintStream(baes);
|
||||
PrintStream saveErr = System.err;
|
||||
System.setErr(err);
|
||||
try {
|
||||
int rc = JAR_TOOL.run(out, err, cmdline.split(" +"));
|
||||
if (rc != 0) {
|
||||
throw new IOException(baes.toString());
|
||||
}
|
||||
} finally {
|
||||
System.setErr(saveErr);
|
||||
}
|
||||
return baes.toString();
|
||||
}
|
||||
|
||||
private void println() throws IOException {
|
||||
System.out.println(new String(baos.toByteArray()));
|
||||
}
|
||||
}
|
||||
224
test/jdk/tools/jar/MultipleManifestTest.java
Normal file
224
test/jdk/tools/jar/MultipleManifestTest.java
Normal file
@@ -0,0 +1,224 @@
|
||||
/*
|
||||
* Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8335912
|
||||
* @summary test extract jar with multpile manifest files
|
||||
* @library /test/lib
|
||||
* @modules jdk.jartool
|
||||
* @build jdk.test.lib.Platform
|
||||
* jdk.test.lib.util.FileUtils
|
||||
* @run junit/othervm MultipleManifestTest
|
||||
*/
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
||||
import org.junit.jupiter.api.AfterAll;
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.TestInstance;
|
||||
import org.junit.jupiter.api.TestInstance.Lifecycle;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.PrintStream;
|
||||
import java.io.UncheckedIOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Arrays;
|
||||
import java.util.jar.Attributes;
|
||||
import java.util.jar.JarFile;
|
||||
import java.util.jar.Manifest;
|
||||
import java.util.spi.ToolProvider;
|
||||
import java.util.stream.Stream;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipOutputStream;
|
||||
|
||||
import jdk.test.lib.util.FileUtils;
|
||||
|
||||
@TestInstance(Lifecycle.PER_CLASS)
|
||||
class MultipleManifestTest {
|
||||
private static final ToolProvider JAR_TOOL = ToolProvider.findFirst("jar")
|
||||
.orElseThrow(() ->
|
||||
new RuntimeException("jar tool not found")
|
||||
);
|
||||
|
||||
private final String nl = System.lineSeparator();
|
||||
private final ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
private final PrintStream jarOut = new PrintStream(baos);
|
||||
|
||||
static final Path zip = Path.of("MultipleManifestTest.jar");
|
||||
static final String jdkVendor = System.getProperty("java.vendor");
|
||||
static final String jdkVersion = System.getProperty("java.version");
|
||||
static final String MANIFEST1 = "Manifest-Version: 1.0"
|
||||
+ System.lineSeparator()
|
||||
+ "Created-By: " + jdkVersion + " (" + jdkVendor + ")";
|
||||
static final String MANIFEST2 = "Manifest-Version: 2.0"
|
||||
+ System.lineSeparator()
|
||||
+ "Created-By: " + jdkVersion + " (" + jdkVendor + ")";
|
||||
static final String MANIFEST3 = "Manifest-Version: 3.0"
|
||||
+ System.lineSeparator()
|
||||
+ "Created-By: " + jdkVersion + " (" + jdkVendor + ")";
|
||||
private static final String META_INF = "META-INF/";
|
||||
|
||||
/**
|
||||
* Delete the ZIP file produced by this test
|
||||
*
|
||||
* @throws IOException if an unexpected IOException occurs
|
||||
*/
|
||||
@AfterAll
|
||||
public void cleanup() throws IOException {
|
||||
Files.deleteIfExists(zip);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a JAR with the Manifest as the 1st, 2nd and 4th entry
|
||||
*
|
||||
* @throws IOException if an error occurs
|
||||
*/
|
||||
@BeforeAll
|
||||
public void writeManifestAsFirstSecondAndFourthEntry() throws IOException {
|
||||
int locPosA, locPosB, cenPos;
|
||||
System.out.printf("%n%n*****Creating Jar with the Manifest as the 1st, 2nd and 4th entry*****%n%n");
|
||||
var out = new ByteArrayOutputStream(1024);
|
||||
try (var zos = new ZipOutputStream(out)) {
|
||||
zos.putNextEntry(new ZipEntry(JarFile.MANIFEST_NAME));
|
||||
zos.write(MANIFEST1.getBytes(StandardCharsets.UTF_8));
|
||||
zos.closeEntry();
|
||||
locPosA = out.size();
|
||||
zos.putNextEntry(new ZipEntry(META_INF + "AANIFEST.MF"));
|
||||
zos.write(MANIFEST2.getBytes(StandardCharsets.UTF_8));
|
||||
zos.putNextEntry(new ZipEntry("entry1.txt"));
|
||||
zos.write("entry1".getBytes(StandardCharsets.UTF_8));
|
||||
zos.closeEntry();
|
||||
locPosB = out.size();
|
||||
zos.putNextEntry(new ZipEntry(META_INF + "BANIFEST.MF"));
|
||||
zos.write(MANIFEST3.getBytes(StandardCharsets.UTF_8));
|
||||
zos.putNextEntry(new ZipEntry("entry2.txt"));
|
||||
zos.write("hello entry2".getBytes(StandardCharsets.UTF_8));
|
||||
zos.flush();
|
||||
cenPos = out.size();
|
||||
}
|
||||
var template = out.toByteArray();
|
||||
// ISO_8859_1 to keep the 8-bit value
|
||||
var s = new String(template, StandardCharsets.ISO_8859_1);
|
||||
// change META-INF/AANIFEST.MF to META-INF/MANIFEST.MF
|
||||
var loc = s.indexOf("AANIFEST.MF", locPosA);
|
||||
var cen = s.indexOf("AANIFEST.MF", cenPos);
|
||||
template[loc] = template[cen] = (byte) 'M';
|
||||
// change META-INF/BANIFEST.MF to META-INF/MANIFEST.MF
|
||||
loc = s.indexOf("BANIFEST.MF", locPosB);
|
||||
cen = s.indexOf("BANIFEST.MF", cenPos);
|
||||
template[loc] = template[cen] = (byte) 'M';
|
||||
Files.write(zip, template);
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
public void removeExtractedFiles() {
|
||||
rm("META-INF entry1.txt entry2.txt");
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract by default should have the last manifest.
|
||||
*/
|
||||
@Test
|
||||
public void testOverwrite() throws IOException {
|
||||
jar("xvf " + zip.toString());
|
||||
println();
|
||||
Assertions.assertEquals("3.0", getManifestVersion());
|
||||
String output = " inflated: META-INF/MANIFEST.MF" + nl +
|
||||
" inflated: META-INF/MANIFEST.MF" + nl +
|
||||
" inflated: entry1.txt" + nl +
|
||||
" inflated: META-INF/MANIFEST.MF" + nl +
|
||||
" inflated: entry2.txt" + nl;
|
||||
Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract with k option should have first manifest.
|
||||
*/
|
||||
@Test
|
||||
public void testKeptOldFile() throws IOException {
|
||||
jar("xkvf " + zip.toString());
|
||||
println();
|
||||
Assertions.assertEquals("1.0", getManifestVersion());
|
||||
String output = " inflated: META-INF/MANIFEST.MF" + nl +
|
||||
" skipped: META-INF/MANIFEST.MF exists" + nl +
|
||||
" inflated: entry1.txt" + nl +
|
||||
" skipped: META-INF/MANIFEST.MF exists" + nl +
|
||||
" inflated: entry2.txt" + nl;
|
||||
Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
|
||||
}
|
||||
|
||||
private String getManifestVersion() throws IOException {
|
||||
try (var is = Files.newInputStream(Path.of(JarFile.MANIFEST_NAME))) {
|
||||
var manifest = new Manifest(is);
|
||||
return manifest.getMainAttributes().getValue(Attributes.Name.MANIFEST_VERSION);
|
||||
}
|
||||
}
|
||||
|
||||
private void jar(String cmdline) throws IOException {
|
||||
System.out.println("jar " + cmdline);
|
||||
baos.reset();
|
||||
|
||||
// the run method catches IOExceptions, we need to expose them
|
||||
ByteArrayOutputStream baes = new ByteArrayOutputStream();
|
||||
PrintStream err = new PrintStream(baes);
|
||||
PrintStream saveErr = System.err;
|
||||
System.setErr(err);
|
||||
try {
|
||||
int rc = JAR_TOOL.run(jarOut, err, cmdline.split(" +"));
|
||||
if (rc != 0) {
|
||||
throw new IOException(baes.toString());
|
||||
}
|
||||
} finally {
|
||||
System.setErr(saveErr);
|
||||
}
|
||||
}
|
||||
|
||||
private void println() throws IOException {
|
||||
System.out.println(new String(baos.toByteArray()));
|
||||
}
|
||||
|
||||
private Stream<Path> mkpath(String... args) {
|
||||
return Arrays.stream(args).map(d -> Path.of(".", d.split("/")));
|
||||
}
|
||||
|
||||
private void rm(String cmdline) {
|
||||
System.out.println("rm -rf " + cmdline);
|
||||
mkpath(cmdline.split(" +")).forEach(p -> {
|
||||
try {
|
||||
if (Files.isDirectory(p)) {
|
||||
FileUtils.deleteFileTreeWithRetry(p);
|
||||
} else {
|
||||
FileUtils.deleteFileIfExistsWithRetry(p);
|
||||
}
|
||||
} catch (IOException x) {
|
||||
throw new UncheckedIOException(x);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright (c) 2021, Google LLC. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8273914
|
||||
* @summary Indy string concat changes order of operations
|
||||
*
|
||||
* @clean *
|
||||
* @compile -XDstringConcat=indy StringAppendEvaluatesInOrder.java
|
||||
* @run main StringAppendEvaluatesInOrder
|
||||
*
|
||||
* @clean *
|
||||
* @compile -XDstringConcat=indyWithConstants StringAppendEvaluatesInOrder.java
|
||||
* @run main StringAppendEvaluatesInOrder
|
||||
*
|
||||
* @clean *
|
||||
* @compile -XDstringConcat=inline StringAppendEvaluatesInOrder.java
|
||||
* @run main StringAppendEvaluatesInOrder
|
||||
*/
|
||||
|
||||
public class StringAppendEvaluatesInOrder {
|
||||
static String test() {
|
||||
StringBuilder builder = new StringBuilder("foo");
|
||||
int i = 15;
|
||||
return "Test: " + i + " " + (++i) + builder + builder.append("bar");
|
||||
}
|
||||
|
||||
static String compoundAssignment() {
|
||||
StringBuilder builder2 = new StringBuilder("foo");
|
||||
Object oo = builder2;
|
||||
oo += "" + builder2.append("bar");
|
||||
return oo.toString();
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
assertEquals(test(), "Test: 15 16foofoobar");
|
||||
assertEquals(compoundAssignment(), "foofoobar");
|
||||
}
|
||||
|
||||
private static void assertEquals(String actual, String expected) {
|
||||
if (!actual.equals(expected)) {
|
||||
throw new AssertionError("expected: " + expected + ", actual: " + actual);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
/*
|
||||
* Copyright (c) 2021, Google LLC. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import com.sun.tools.classfile.*;
|
||||
import com.sun.tools.classfile.ConstantPool.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8273914
|
||||
* @summary Indy string concat changes order of operations
|
||||
* @modules jdk.jdeps/com.sun.tools.classfile
|
||||
*
|
||||
* @clean *
|
||||
* @compile -XDstringConcat=indy WellKnownTypeSignatures.java
|
||||
* @run main WellKnownTypeSignatures
|
||||
*
|
||||
* @clean *
|
||||
* @compile -XDstringConcat=indyWithConstants WellKnownTypeSignatures.java
|
||||
* @run main WellKnownTypeSignatures
|
||||
*/
|
||||
|
||||
public class WellKnownTypeSignatures {
|
||||
static List<String> actualTypes;
|
||||
|
||||
static int idx = 0;
|
||||
|
||||
static boolean z = true;
|
||||
static char c = (char) 42;
|
||||
static short s = (short) 42;
|
||||
static byte b = (byte) 42;
|
||||
static int i = 42;
|
||||
static long l = 42L;
|
||||
static float f = 42.0f;
|
||||
static double d = 42.0;
|
||||
|
||||
public static void main(String[] argv) throws Exception {
|
||||
readIndyTypes();
|
||||
|
||||
test("" + WellKnownTypeSignatures.class, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
test("" + Boolean.valueOf(z), idx++, "(Ljava/lang/Boolean;)Ljava/lang/String;");
|
||||
test("" + Character.valueOf(c), idx++, "(Ljava/lang/Character;)Ljava/lang/String;");
|
||||
test("" + Byte.valueOf(b), idx++, "(Ljava/lang/Byte;)Ljava/lang/String;");
|
||||
test("" + Short.valueOf(s), idx++, "(Ljava/lang/Short;)Ljava/lang/String;");
|
||||
test("" + Integer.valueOf(i), idx++, "(Ljava/lang/Integer;)Ljava/lang/String;");
|
||||
test("" + Long.valueOf(l), idx++, "(Ljava/lang/Long;)Ljava/lang/String;");
|
||||
test("" + Double.valueOf(d), idx++, "(Ljava/lang/Double;)Ljava/lang/String;");
|
||||
test("" + Float.valueOf(f), idx++, "(Ljava/lang/Float;)Ljava/lang/String;");
|
||||
test("" + z, idx++, "(Z)Ljava/lang/String;");
|
||||
test("" + c, idx++, "(C)Ljava/lang/String;");
|
||||
test("" + b, idx++, "(B)Ljava/lang/String;");
|
||||
test("" + s, idx++, "(S)Ljava/lang/String;");
|
||||
test("" + i, idx++, "(I)Ljava/lang/String;");
|
||||
test("" + l, idx++, "(J)Ljava/lang/String;");
|
||||
test("" + d, idx++, "(D)Ljava/lang/String;");
|
||||
test("" + f, idx++, "(F)Ljava/lang/String;");
|
||||
}
|
||||
|
||||
public static void test(String actual, int index, String expectedType) {
|
||||
String actualType = actualTypes.get(index);
|
||||
if (!actualType.equals(expectedType)) {
|
||||
throw new IllegalStateException(
|
||||
index
|
||||
+ " Unexpected type: expected = "
|
||||
+ expectedType
|
||||
+ ", actual = "
|
||||
+ actualType);
|
||||
}
|
||||
}
|
||||
|
||||
public static void readIndyTypes() throws Exception {
|
||||
actualTypes = new ArrayList<String>();
|
||||
|
||||
ClassFile classFile =
|
||||
ClassFile.read(
|
||||
new File(
|
||||
System.getProperty("test.classes", "."),
|
||||
WellKnownTypeSignatures.class.getName() + ".class"));
|
||||
ConstantPool constantPool = classFile.constant_pool;
|
||||
|
||||
for (Method method : classFile.methods) {
|
||||
if (method.getName(constantPool).equals("main")) {
|
||||
Code_attribute code = (Code_attribute) method.attributes.get(Attribute.Code);
|
||||
for (Instruction i : code.getInstructions()) {
|
||||
if (i.getOpcode() == Opcode.INVOKEDYNAMIC) {
|
||||
CONSTANT_InvokeDynamic_info indyInfo =
|
||||
(CONSTANT_InvokeDynamic_info)
|
||||
constantPool.get(i.getUnsignedShort(1));
|
||||
CONSTANT_NameAndType_info natInfo = indyInfo.getNameAndTypeInfo();
|
||||
actualTypes.add(natInfo.getType());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
81
test/langtools/tools/javac/StringConcat/WellKnownTypes.java
Normal file
81
test/langtools/tools/javac/StringConcat/WellKnownTypes.java
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright (c) 2021, Google LLC. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import com.sun.tools.classfile.*;
|
||||
import com.sun.tools.classfile.ConstantPool.*;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8273914
|
||||
* @summary Indy string concat changes order of operations
|
||||
* @modules jdk.jdeps/com.sun.tools.classfile
|
||||
*
|
||||
* @compile -XDstringConcat=indy WellKnownTypes.java
|
||||
* @run main WellKnownTypes
|
||||
*
|
||||
* @compile -XDstringConcat=indyWithConstants WellKnownTypes.java
|
||||
* @run main WellKnownTypes
|
||||
*
|
||||
* @compile -XDstringConcat=inline WellKnownTypes.java
|
||||
* @run main WellKnownTypes
|
||||
*/
|
||||
|
||||
public class WellKnownTypes {
|
||||
static int idx = 0;
|
||||
|
||||
static boolean z = true;
|
||||
static char c = (char) 42;
|
||||
static byte b = (byte) 43;
|
||||
static short s = (short) 44;
|
||||
static int i = 45;
|
||||
static long l = 46L;
|
||||
static float f = 47.0f;
|
||||
static double d = 48.0;
|
||||
|
||||
public static void main(String[] argv) throws Exception {
|
||||
test("" + WellKnownTypes.class, idx++, "class WellKnownTypes");
|
||||
test("" + Boolean.valueOf(z), idx++, "true");
|
||||
test("" + Character.valueOf(c), idx++, "*");
|
||||
test("" + Byte.valueOf(b), idx++, "43");
|
||||
test("" + Short.valueOf(s), idx++, "44");
|
||||
test("" + Integer.valueOf(i), idx++, "45");
|
||||
test("" + Long.valueOf(l), idx++, "46");
|
||||
test("" + Float.valueOf(f), idx++, "47.0");
|
||||
test("" + Double.valueOf(d), idx++, "48.0");
|
||||
test("" + z, idx++, "true");
|
||||
test("" + c, idx++, "*");
|
||||
test("" + b, idx++, "43");
|
||||
test("" + s, idx++, "44");
|
||||
test("" + i, idx++, "45");
|
||||
test("" + l, idx++, "46");
|
||||
test("" + f, idx++, "47.0");
|
||||
test("" + d, idx++, "48.0");
|
||||
}
|
||||
|
||||
public static void test(String actual, int index, String expected) {
|
||||
if (!actual.equals(expected)) {
|
||||
throw new IllegalStateException(
|
||||
index + " Unexpected: expected = " + expected + ", actual = " + actual);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -56,109 +56,109 @@ public class Test {
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// public Private_PublicClass c1 = new Private_PublicClass();
|
||||
test("" + holder.c1, idx++, "(Lp1/PublicClass;)Ljava/lang/String;");
|
||||
test("" + holder.c1, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Private_PublicInterface c2 = new Private_PublicInterface();
|
||||
test("" + holder.c2, idx++, "(Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.c2, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Private_PrivateInterface1 c3 = new Private_PrivateInterface1();
|
||||
test("" + holder.c3, idx++, "(Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.c3, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Private_PrivateInterface2 c4 = new Private_PrivateInterface2();
|
||||
test("" + holder.c4, idx++, "(Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.c4, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PublicClass c5 = new Public_PublicClass();
|
||||
test("" + holder.c5, idx++, "(Lp1/Public_PublicClass;)Ljava/lang/String;");
|
||||
test("" + holder.c5, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PublicInterface c6 = new Public_PublicInterface();
|
||||
test("" + holder.c6, idx++, "(Lp1/Public_PublicInterface;)Ljava/lang/String;");
|
||||
test("" + holder.c6, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PrivateInterface1 c7 = new Public_PrivateInterface1();
|
||||
test("" + holder.c7, idx++, "(Lp1/Public_PrivateInterface1;)Ljava/lang/String;");
|
||||
test("" + holder.c7, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PrivateInterface2 c8 = new Public_PrivateInterface2();
|
||||
test("" + holder.c8, idx++, "(Lp1/Public_PrivateInterface2;)Ljava/lang/String;");
|
||||
test("" + holder.c8, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// public Private_PublicClass[] ac1 = new Private_PublicClass[0];
|
||||
test("" + holder.ac1, idx++, "([Lp1/PublicClass;)Ljava/lang/String;");
|
||||
test("" + holder.ac1, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Private_PublicInterface[] ac2 = new Private_PublicInterface[0];
|
||||
test("" + holder.ac2, idx++, "([Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.ac2, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Private_PrivateInterface1[] ac3 = new Private_PrivateInterface1[0];
|
||||
test("" + holder.ac3, idx++, "([Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.ac3, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Private_PrivateInterface2[] ac4 = new Private_PrivateInterface2[0];
|
||||
test("" + holder.ac4, idx++, "([Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.ac4, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PublicClass[] ac5 = new Public_PublicClass[0];
|
||||
test("" + holder.ac5, idx++, "([Lp1/Public_PublicClass;)Ljava/lang/String;");
|
||||
test("" + holder.ac5, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PublicInterface[] ac6 = new Public_PublicInterface[0];
|
||||
test("" + holder.ac6, idx++, "([Lp1/Public_PublicInterface;)Ljava/lang/String;");
|
||||
test("" + holder.ac6, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PrivateInterface1[] ac7 = new Public_PrivateInterface1[0];
|
||||
test("" + holder.ac7, idx++, "([Lp1/Public_PrivateInterface1;)Ljava/lang/String;");
|
||||
test("" + holder.ac7, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PrivateInterface2[] ac8 = new Public_PrivateInterface2[0];
|
||||
test("" + holder.ac8, idx++, "([Lp1/Public_PrivateInterface2;)Ljava/lang/String;");
|
||||
test("" + holder.ac8, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// public Private_PublicClass[][] aac1 = new Private_PublicClass[0][];
|
||||
test("" + holder.aac1, idx++, "([[Lp1/PublicClass;)Ljava/lang/String;");
|
||||
test("" + holder.aac1, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Private_PublicInterface[][] aac2 = new Private_PublicInterface[0][];
|
||||
test("" + holder.aac2, idx++, "([[Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.aac2, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Private_PrivateInterface1[][] aac3 = new Private_PrivateInterface1[0][];
|
||||
test("" + holder.aac3, idx++, "([[Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.aac3, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Private_PrivateInterface2[][] aac4 = new Private_PrivateInterface2[0][];
|
||||
test("" + holder.aac4, idx++, "([[Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.aac4, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PublicClass[][] aac5 = new Public_PublicClass[0][];
|
||||
test("" + holder.aac5, idx++, "([[Lp1/Public_PublicClass;)Ljava/lang/String;");
|
||||
test("" + holder.aac5, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PublicInterface[][] aac6 = new Public_PublicInterface[0][];
|
||||
test("" + holder.aac6, idx++, "([[Lp1/Public_PublicInterface;)Ljava/lang/String;");
|
||||
test("" + holder.aac6, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PrivateInterface1[][] aac7 = new Public_PrivateInterface1[0][];
|
||||
test("" + holder.aac7, idx++, "([[Lp1/Public_PrivateInterface1;)Ljava/lang/String;");
|
||||
test("" + holder.aac7, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public Public_PrivateInterface2[][] aac8 = new Public_PrivateInterface2[0][];
|
||||
test("" + holder.aac8, idx++, "([[Lp1/Public_PrivateInterface2;)Ljava/lang/String;");
|
||||
test("" + holder.aac8, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// public PublicInterface i1 = new Private_PublicInterface();
|
||||
test("" + holder.i1, idx++, "(Lp1/PublicInterface;)Ljava/lang/String;");
|
||||
test("" + holder.i1, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public PrivateInterface1 i2 = new Private_PrivateInterface1();
|
||||
test("" + holder.i2, idx++, "(Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.i2, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public PrivateInterface2 i3 = new Private_PrivateInterface2();
|
||||
test("" + holder.i3, idx++, "(Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.i3, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public PublicInterface[] ai1 = new Private_PublicInterface[0];
|
||||
test("" + holder.ai1, idx++, "([Lp1/PublicInterface;)Ljava/lang/String;");
|
||||
test("" + holder.ai1, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public PrivateInterface1[] ai2 = new Private_PrivateInterface1[0];
|
||||
test("" + holder.ai2, idx++, "([Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.ai2, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public PrivateInterface2[] ai3 = new Private_PrivateInterface2[0];
|
||||
test("" + holder.ai3, idx++, "([Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.ai3, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public PublicInterface[][] aai1 = new Private_PublicInterface[0][];
|
||||
test("" + holder.aai1, idx++, "([[Lp1/PublicInterface;)Ljava/lang/String;");
|
||||
test("" + holder.aai1, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public PrivateInterface1[][] aai2 = new Private_PrivateInterface1[0][];
|
||||
test("" + holder.aai2, idx++, "([[Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.aai2, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
// public PrivateInterface2[][] aai3 = new Private_PrivateInterface2[0][];
|
||||
test("" + holder.aai3, idx++, "([[Ljava/lang/Object;)Ljava/lang/String;");
|
||||
test("" + holder.aai3, idx++, "(Ljava/lang/String;)Ljava/lang/String;");
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user