Skip to content
This repository was archived by the owner on Jan 10, 2018. It is now read-only.

Commit 920517a

Browse files
author
asaha
committed
Merge
2 parents 7132f69 + 84cf146 commit 920517a

File tree

92 files changed

+20405
-10304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+20405
-10304
lines changed

make/data/swingbeaninfo/SwingBeanInfo.template

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -92,25 +92,38 @@ public class @(BeanClassName)BeanInfo extends javax.swing.SwingBeanInfoBase {
9292
/**
9393
* @return an icon of the specified kind for @(BeanClassName)
9494
*/
95-
public Image getIcon(int kind) {
95+
public Image getIcon(final int kind) {
9696
Image i;
9797
switch (kind){
9898
case ICON_COLOR_32x32:
99-
i = loadImage("beaninfo/images/@(BeanClassName)Color32.gif");
100-
return ((i == null) ? loadImage("beaninfo/images/JComponentColor32.gif") : i);
99+
i = loadStandardImage("beaninfo/images/@(BeanClassName)Color32.gif");
100+
return ((i == null) ? loadStandardImage("beaninfo/images/JComponentColor32.gif") : i);
101101
case ICON_COLOR_16x16:
102-
i = loadImage("beaninfo/images/@(BeanClassName)Color16.gif");
103-
return ((i == null) ? loadImage("beaninfo/images/JComponentColor16.gif") : i);
102+
i = loadStandardImage("beaninfo/images/@(BeanClassName)Color16.gif");
103+
return ((i == null) ? loadStandardImage("beaninfo/images/JComponentColor16.gif") : i);
104104
case ICON_MONO_32x32:
105-
i = loadImage("beaninfo/images/@(BeanClassName)Mono32.gif");
106-
return ((i == null) ? loadImage("beaninfo/images/JComponentMono32.gif") : i);
105+
i = loadStandardImage("beaninfo/images/@(BeanClassName)Mono32.gif");
106+
return ((i == null) ? loadStandardImage("beaninfo/images/JComponentMono32.gif") : i);
107107
case ICON_MONO_16x16:
108-
i = loadImage("beaninfo/images/@(BeanClassName)Mono16.gif");
109-
return ((i == null) ? loadImage("beaninfo/images/JComponentMono16.gif") : i);
108+
i = loadStandardImage("beaninfo/images/@(BeanClassName)Mono16.gif");
109+
return ((i == null) ? loadStandardImage("beaninfo/images/JComponentMono16.gif") : i);
110110
default:
111111
return super.getIcon(kind);
112112
}
113113
}
114+
115+
/**
116+
* This is a utility method to help in loading standard icon images.
117+
*
118+
* @param resourceName A pathname relative to the directory holding the
119+
* class file of the current class
120+
* @return an image object. May be null if the load failed.
121+
* @see java.beans.SimpleBeanInfo#loadImage(String)
122+
*/
123+
private Image loadStandardImage(final String resourceName) {
124+
return java.security.AccessController.doPrivileged(
125+
(java.security.PrivilegedAction<Image>) () -> loadImage(resourceName));
126+
}
114127
}
115128

116129

make/data/tzdata/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
# or visit www.oracle.com if you need additional information or have any
2222
# questions.
2323
#
24-
tzdata2014j
24+
tzdata2015a

make/data/tzdata/antarctica

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ Rule ChileAQ 2009 only - Mar Sun>=9 3:00u 0 -
7070
Rule ChileAQ 2010 only - Apr Sun>=1 3:00u 0 -
7171
Rule ChileAQ 2011 only - May Sun>=2 3:00u 0 -
7272
Rule ChileAQ 2011 only - Aug Sun>=16 4:00u 1:00 S
73-
Rule ChileAQ 2012 max - Apr Sun>=23 3:00u 0 -
74-
Rule ChileAQ 2012 max - Sep Sun>=2 4:00u 1:00 S
73+
Rule ChileAQ 2012 2015 - Apr Sun>=23 3:00u 0 -
74+
Rule ChileAQ 2012 2014 - Sep Sun>=2 4:00u 1:00 S
7575

7676
# Argentina - year-round bases
7777
# Belgrano II, Confin Coast, -770227-0343737, since 1972-02-05
@@ -377,9 +377,10 @@ Zone Antarctica/Rothera 0 - zzz 1976 Dec 1
377377
#
378378
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
379379
Zone Antarctica/Palmer 0 - zzz 1965
380-
-4:00 ArgAQ AR%sT 1969 Oct 5
380+
-4:00 ArgAQ AR%sT 1969 Oct 5
381381
-3:00 ArgAQ AR%sT 1982 May
382-
-4:00 ChileAQ CL%sT
382+
-4:00 ChileAQ CL%sT 2015 Apr 26 3:00u
383+
-3:00 - CLT
383384
#
384385
#
385386
# McMurdo Station, Ross Island, since 1955-12

make/data/tzdata/asia

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,7 @@ Zone Asia/Baku 3:19:24 - LMT 1924 May 2
168168
4:00 Azer AZ%sT
169169

170170
# Bahrain
171-
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
172-
Zone Asia/Bahrain 3:22:20 - LMT 1920 # Manamah
173-
4:00 - GST 1972 Jun
174-
3:00 - AST
171+
# See Asia/Qatar.
175172

176173
# Bangladesh
177174
# From Alexander Krivenyshev (2009-05-13):
@@ -1754,9 +1751,7 @@ Zone Asia/Pyongyang 8:23:00 - LMT 1908 Apr 1
17541751
###############################################################################
17551752

17561753
# Kuwait
1757-
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
1758-
Zone Asia/Kuwait 3:11:56 - LMT 1950
1759-
3:00 - AST
1754+
# See Asia/Riyadh.
17601755

17611756
# Laos
17621757
# See Asia/Bangkok.
@@ -1977,12 +1972,7 @@ Zone Asia/Kathmandu 5:41:16 - LMT 1920
19771972
5:45 - NPT # Nepal Time
19781973

19791974
# Oman
1980-
1981-
# Milne says 3:54:24 was the meridian of the Muscat Tidal Observatory.
1982-
1983-
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
1984-
Zone Asia/Muscat 3:54:24 - LMT 1920
1985-
4:00 - GST
1975+
# See Asia/Dubai.
19861976

19871977
# Pakistan
19881978

@@ -2476,6 +2466,7 @@ Zone Asia/Manila -15:56:00 - LMT 1844 Dec 31
24762466
Zone Asia/Qatar 3:26:08 - LMT 1920 # Al Dawhah / Doha
24772467
4:00 - GST 1972 Jun
24782468
3:00 - AST
2469+
Link Asia/Qatar Asia/Bahrain
24792470

24802471
# Saudi Arabia
24812472
#
@@ -2502,6 +2493,8 @@ Zone Asia/Qatar 3:26:08 - LMT 1920 # Al Dawhah / Doha
25022493
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
25032494
Zone Asia/Riyadh 3:06:52 - LMT 1947 Mar 14
25042495
3:00 - AST
2496+
Link Asia/Riyadh Asia/Aden # Yemen
2497+
Link Asia/Riyadh Asia/Kuwait
25052498

25062499
# Singapore
25072500
# taken from Mok Ly Yng (2003-10-30)
@@ -2790,6 +2783,7 @@ Zone Asia/Ashgabat 3:53:32 - LMT 1924 May 2 # or Ashkhabad
27902783
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
27912784
Zone Asia/Dubai 3:41:12 - LMT 1920
27922785
4:00 - GST
2786+
Link Asia/Dubai Asia/Muscat # Oman
27932787

27942788
# Uzbekistan
27952789
# Byalokoz 1919 says Uzbekistan was 4:27:53.
@@ -2874,10 +2868,4 @@ Zone Asia/Ho_Chi_Minh 7:06:40 - LMT 1906 Jul 1
28742868
7:00 - ICT
28752869

28762870
# Yemen
2877-
2878-
# Milne says 2:59:54 was the meridian of the saluting battery at Aden,
2879-
# and that Yemen was at 1:55:56, the meridian of the Hagia Sophia.
2880-
2881-
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
2882-
Zone Asia/Aden 2:59:54 - LMT 1950
2883-
3:00 - AST
2871+
# See Asia/Riyadh.

make/data/tzdata/backward

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# and their old names. Many names changed in late 1993.
2929

3030
# Link TARGET LINK-NAME
31-
Link Africa/Asmara Africa/Asmera
31+
Link Africa/Nairobi Africa/Asmera
3232
Link Africa/Abidjan Africa/Timbuktu
3333
Link America/Argentina/Catamarca America/Argentina/ComodRivadavia
3434
Link America/Adak America/Atka

make/data/tzdata/europe

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,35 +1430,32 @@ Zone Europe/Budapest 1:16:20 - LMT 1890 Oct
14301430
# might be a reference to the Julian calendar as opposed to Gregorian, or it
14311431
# might mean something else (???).
14321432
#
1433-
# From Paul Eggert (2006-03-22):
1434-
# The Iceland Almanak, Shanks & Pottenger, and Whitman disagree on many points.
1435-
# We go with the Almanak, except for one claim from Shanks & Pottenger, namely
1436-
# that Reykavik was 21W57 from 1837 to 1908, local mean time before that.
1433+
# From Paul Eggert (2014-11-22):
1434+
# The information below is taken from the 1988 Almanak; see
1435+
# http://www.almanak.hi.is/klukkan.html
14371436
#
14381437
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
1439-
Rule Iceland 1917 1918 - Feb 19 23:00 1:00 S
1438+
Rule Iceland 1917 1919 - Feb 19 23:00 1:00 S
14401439
Rule Iceland 1917 only - Oct 21 1:00 0 -
1441-
Rule Iceland 1918 only - Nov 16 1:00 0 -
1440+
Rule Iceland 1918 1919 - Nov 16 1:00 0 -
1441+
Rule Iceland 1921 only - Mar 19 23:00 1:00 S
1442+
Rule Iceland 1921 only - Jun 23 1:00 0 -
14421443
Rule Iceland 1939 only - Apr 29 23:00 1:00 S
1443-
Rule Iceland 1939 only - Nov 29 2:00 0 -
1444+
Rule Iceland 1939 only - Oct 29 2:00 0 -
14441445
Rule Iceland 1940 only - Feb 25 2:00 1:00 S
1445-
Rule Iceland 1940 only - Nov 3 2:00 0 -
1446-
Rule Iceland 1941 only - Mar 2 1:00s 1:00 S
1447-
Rule Iceland 1941 only - Nov 2 1:00s 0 -
1448-
Rule Iceland 1942 only - Mar 8 1:00s 1:00 S
1449-
Rule Iceland 1942 only - Oct 25 1:00s 0 -
1446+
Rule Iceland 1940 1941 - Nov Sun>=2 1:00s 0 -
1447+
Rule Iceland 1941 1942 - Mar Sun>=2 1:00s 1:00 S
14501448
# 1943-1946 - first Sunday in March until first Sunday in winter
14511449
Rule Iceland 1943 1946 - Mar Sun>=1 1:00s 1:00 S
1452-
Rule Iceland 1943 1948 - Oct Sun>=22 1:00s 0 -
1450+
Rule Iceland 1942 1948 - Oct Sun>=22 1:00s 0 -
14531451
# 1947-1967 - first Sunday in April until first Sunday in winter
14541452
Rule Iceland 1947 1967 - Apr Sun>=1 1:00s 1:00 S
1455-
# 1949 Oct transition delayed by 1 week
1453+
# 1949 and 1967 Oct transitions delayed by 1 week
14561454
Rule Iceland 1949 only - Oct 30 1:00s 0 -
14571455
Rule Iceland 1950 1966 - Oct Sun>=22 1:00s 0 -
14581456
Rule Iceland 1967 only - Oct 29 1:00s 0 -
14591457
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
1460-
Zone Atlantic/Reykjavik -1:27:24 - LMT 1837
1461-
-1:27:48 - RMT 1908 # Reykjavik Mean Time?
1458+
Zone Atlantic/Reykjavik -1:28 - LMT 1908
14621459
-1:00 Iceland IS%sT 1968 Apr 7 1:00s
14631460
0:00 - GMT
14641461

make/data/tzdata/leapseconds

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,7 @@ Leap 1998 Dec 31 23:59:60 + S
7777
Leap 2005 Dec 31 23:59:60 + S
7878
Leap 2008 Dec 31 23:59:60 + S
7979
Leap 2012 Jun 30 23:59:60 + S
80+
Leap 2015 Jun 30 23:59:60 + S
81+
82+
# Updated through IERS Bulletin C49
83+
# File expires on: 28 December 2015

make/data/tzdata/northamerica

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Rule US 1918 1919 - Mar lastSun 2:00 1:00 D
147147
Rule US 1918 1919 - Oct lastSun 2:00 0 S
148148
Rule US 1942 only - Feb 9 2:00 1:00 W # War
149149
Rule US 1945 only - Aug 14 23:00u 1:00 P # Peace
150-
Rule US 1945 only - Sep 30 2:00 0 S
150+
Rule US 1945 only - Sep lastSun 2:00 0 S
151151
Rule US 1967 2006 - Oct lastSun 2:00 0 S
152152
Rule US 1967 1973 - Apr lastSun 2:00 1:00 D
153153
Rule US 1974 only - Jan 6 2:00 1:00 D
@@ -2147,11 +2147,11 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20
21472147

21482148
# Mexico
21492149

2150-
# From Paul Eggert (2001-03-05):
2150+
# From Paul Eggert (2014-12-07):
21512151
# The Investigation and Analysis Service of the
21522152
# Mexican Library of Congress (MLoC) has published a
21532153
# history of Mexican local time (in Spanish)
2154-
# http://www.cddhcu.gob.mx/bibliot/publica/inveyana/polisoc/horver/
2154+
# http://www.diputados.gob.mx/bibliot/publica/inveyana/polisoc/horver/index.htm
21552155
#
21562156
# Here are the discrepancies between Shanks & Pottenger (S&P) and the MLoC.
21572157
# (In all cases we go with the MLoC.)
@@ -2320,6 +2320,24 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20
23202320
# efecto desde las dos horas del segundo domingo de marzo y concluirá a
23212321
# las dos horas del primer domingo de noviembre.
23222322

2323+
# From Steffen Thorsen (2014-12-08), translated by Gwillim Law:
2324+
# The Mexican state of Quintana Roo will likely change to EST in 2015.
2325+
#
2326+
# http://www.unioncancun.mx/articulo/2014/12/04/medio-ambiente/congreso-aprueba-una-hora-mas-de-sol-en-qroo
2327+
# "With this change, the time conflict that has existed between the municipios
2328+
# of Quintana Roo and the municipio of Felipe Carrillo Puerto may come to an
2329+
# end. The latter declared itself in rebellion 15 years ago when a time change
2330+
# was initiated in Mexico, and since then it has refused to change its time
2331+
# zone along with the rest of the country."
2332+
#
2333+
# From Steffen Thorsen (2015-01-14), translated by Gwillim Law:
2334+
# http://sipse.com/novedades/confirman-aplicacion-de-nueva-zona-horaria-para-quintana-roo-132331.html
2335+
# "...the new time zone will come into effect at two o'clock on the first Sunday
2336+
# of February, when we will have to advance the clock one hour from its current
2337+
# time..."
2338+
#
2339+
# Also, the new zone will not use DST.
2340+
23232341
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
23242342
Rule Mexico 1939 only - Feb 5 0:00 1:00 D
23252343
Rule Mexico 1939 only - Jun 25 0:00 0 S
@@ -2340,7 +2358,8 @@ Rule Mexico 2002 max - Oct lastSun 2:00 0 S
23402358
Zone America/Cancun -5:47:04 - LMT 1922 Jan 1 0:12:56
23412359
-6:00 - CST 1981 Dec 23
23422360
-5:00 Mexico E%sT 1998 Aug 2 2:00
2343-
-6:00 Mexico C%sT
2361+
-6:00 Mexico C%sT 2015 Feb 1 2:00
2362+
-5:00 - EST
23442363
# Campeche, Yucatán; represented by Mérida
23452364
Zone America/Merida -5:58:28 - LMT 1922 Jan 1 0:01:32
23462365
-6:00 - CST 1981 Dec 23

make/data/tzdata/southamerica

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,6 +1229,11 @@ Zone America/Rio_Branco -4:31:12 - LMT 1914
12291229
# DST Start: first Saturday of September 2014 (Sun 07 Sep 2014 04:00 UTC)
12301230
# http://www.diariooficial.interior.gob.cl//media/2014/02/19/do-20140219.pdf
12311231

1232+
# From Juan Correa (2015-01-28):
1233+
# ... today the Ministry of Energy announced that Chile will drop DST, will keep
1234+
# "summer time" (UTC -3 / UTC -5) all year round....
1235+
# http://www.minenergia.cl/ministerio/noticias/generales/ministerio-de-energia-anuncia.html
1236+
12321237
# NOTE: ChileAQ rules for Antarctic bases are stored separately in the
12331238
# 'antarctica' file.
12341239

@@ -1270,8 +1275,8 @@ Rule Chile 2009 only - Mar Sun>=9 3:00u 0 -
12701275
Rule Chile 2010 only - Apr Sun>=1 3:00u 0 -
12711276
Rule Chile 2011 only - May Sun>=2 3:00u 0 -
12721277
Rule Chile 2011 only - Aug Sun>=16 4:00u 1:00 S
1273-
Rule Chile 2012 max - Apr Sun>=23 3:00u 0 -
1274-
Rule Chile 2012 max - Sep Sun>=2 4:00u 1:00 S
1278+
Rule Chile 2012 2015 - Apr Sun>=23 3:00u 0 -
1279+
Rule Chile 2012 2014 - Sep Sun>=2 4:00u 1:00 S
12751280
# IATA SSIM anomalies: (1992-02) says 1992-03-14;
12761281
# (1996-09) says 1998-03-08. Ignore these.
12771282
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
@@ -1282,11 +1287,13 @@ Zone America/Santiago -4:42:46 - LMT 1890
12821287
-4:00 - CLT 1919 Jul 1 # Chile Time
12831288
-4:42:46 - SMT 1927 Sep 1 # Santiago Mean Time
12841289
-5:00 Chile CL%sT 1947 May 22 # Chile Time
1285-
-4:00 Chile CL%sT
1290+
-4:00 Chile CL%sT 2015 Apr 26 3:00u
1291+
-3:00 - CLT
12861292
Zone Pacific/Easter -7:17:44 - LMT 1890
12871293
-7:17:28 - EMT 1932 Sep # Easter Mean Time
1288-
-7:00 Chile EAS%sT 1982 Mar 13 21:00 # Easter Time
1289-
-6:00 Chile EAS%sT
1294+
-7:00 Chile EAS%sT 1982 Mar 13 3:00u # Easter Time
1295+
-6:00 Chile EAS%sT 2015 Apr 26 3:00u
1296+
-5:00 - EAST
12901297
#
12911298
# Salas y Gómez Island is uninhabited.
12921299
# Other Chilean locations, including Juan Fernández Is, Desventuradas Is,

make/data/tzdata/zone.tab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ MU -2010+05730 Indian/Mauritius
297297
MV +0410+07330 Indian/Maldives
298298
MW -1547+03500 Africa/Blantyre
299299
MX +1924-09909 America/Mexico_City Central Time - most locations
300-
MX +2105-08646 America/Cancun Central Time - Quintana Roo
300+
MX +2105-08646 America/Cancun Eastern Standard Time - Quintana Roo
301301
MX +2058-08937 America/Merida Central Time - Campeche, Yucatan
302302
MX +2540-10019 America/Monterrey Mexican Central Time - Coahuila, Durango, Nuevo Leon, Tamaulipas away from US border
303303
MX +2550-09730 America/Matamoros US Central Time - Coahuila, Durango, Nuevo Leon, Tamaulipas near US border

0 commit comments

Comments
 (0)