Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
7bb3fca9
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7bb3fca9
编写于
4月 08, 2010
作者:
L
lana
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
ed201043
cc238440
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
371 addition
and
126 deletion
+371
-126
make/sun/javazic/tzdata/VERSION
make/sun/javazic/tzdata/VERSION
+1
-1
make/sun/javazic/tzdata/antarctica
make/sun/javazic/tzdata/antarctica
+61
-2
make/sun/javazic/tzdata/asia
make/sun/javazic/tzdata/asia
+49
-15
make/sun/javazic/tzdata/australasia
make/sun/javazic/tzdata/australasia
+35
-56
make/sun/javazic/tzdata/europe
make/sun/javazic/tzdata/europe
+7
-3
make/sun/javazic/tzdata/southamerica
make/sun/javazic/tzdata/southamerica
+33
-3
make/sun/javazic/tzdata/zone.tab
make/sun/javazic/tzdata/zone.tab
+4
-3
make/tools/src/build/tools/javazic/RuleDay.java
make/tools/src/build/tools/javazic/RuleDay.java
+3
-6
src/share/classes/java/beans/Expression.java
src/share/classes/java/beans/Expression.java
+23
-0
src/share/classes/java/beans/Statement.java
src/share/classes/java/beans/Statement.java
+15
-6
src/share/classes/javax/swing/JSplitPane.java
src/share/classes/javax/swing/JSplitPane.java
+3
-7
src/share/classes/javax/swing/plaf/basic/BasicTextUI.java
src/share/classes/javax/swing/plaf/basic/BasicTextUI.java
+3
-1
src/share/classes/javax/swing/plaf/nimbus/skin.laf
src/share/classes/javax/swing/plaf/nimbus/skin.laf
+0
-1
src/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java
...hare/classes/javax/swing/plaf/synth/SynthLookAndFeel.java
+8
-0
src/share/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java
...are/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java
+0
-17
src/share/classes/sun/util/resources/TimeZoneNames.java
src/share/classes/sun/util/resources/TimeZoneNames.java
+3
-2
src/windows/native/sun/windows/awt_Component.cpp
src/windows/native/sun/windows/awt_Component.cpp
+2
-3
test/java/beans/Statement/Test6707226.java
test/java/beans/Statement/Test6707226.java
+45
-0
test/javax/swing/plaf/synth/Test6933784.java
test/javax/swing/plaf/synth/Test6933784.java
+76
-0
未找到文件。
make/sun/javazic/tzdata/VERSION
浏览文件 @
7bb3fca9
...
@@ -21,4 +21,4 @@
...
@@ -21,4 +21,4 @@
# CA 95054 USA or visit www.sun.com if you need additional information or
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
# have any questions.
#
#
tzdata2010
b
tzdata2010
g
make/sun/javazic/tzdata/antarctica
浏览文件 @
7bb3fca9
...
@@ -79,6 +79,33 @@ Rule ChileAQ 1999 only - Apr 4 3:00u 0 -
...
@@ -79,6 +79,33 @@ Rule ChileAQ 1999 only - Apr 4 3:00u 0 -
Rule ChileAQ 1999 max - Oct Sun>=9 4:00u 1:00 S
Rule ChileAQ 1999 max - Oct Sun>=9 4:00u 1:00 S
Rule ChileAQ 2000 max - Mar Sun>=9 3:00u 0 -
Rule ChileAQ 2000 max - Mar Sun>=9 3:00u 0 -
# These rules are stolen from the `australasia' file.
Rule AusAQ 1917 only - Jan 1 0:01 1:00 -
Rule AusAQ 1917 only - Mar 25 2:00 0 -
Rule AusAQ 1942 only - Jan 1 2:00 1:00 -
Rule AusAQ 1942 only - Mar 29 2:00 0 -
Rule AusAQ 1942 only - Sep 27 2:00 1:00 -
Rule AusAQ 1943 1944 - Mar lastSun 2:00 0 -
Rule AusAQ 1943 only - Oct 3 2:00 1:00 -
Rule ATAQ 1967 only - Oct Sun>=1 2:00s 1:00 -
Rule ATAQ 1968 only - Mar lastSun 2:00s 0 -
Rule ATAQ 1968 1985 - Oct lastSun 2:00s 1:00 -
Rule ATAQ 1969 1971 - Mar Sun>=8 2:00s 0 -
Rule ATAQ 1972 only - Feb lastSun 2:00s 0 -
Rule ATAQ 1973 1981 - Mar Sun>=1 2:00s 0 -
Rule ATAQ 1982 1983 - Mar lastSun 2:00s 0 -
Rule ATAQ 1984 1986 - Mar Sun>=1 2:00s 0 -
Rule ATAQ 1986 only - Oct Sun>=15 2:00s 1:00 -
Rule ATAQ 1987 1990 - Mar Sun>=15 2:00s 0 -
Rule ATAQ 1987 only - Oct Sun>=22 2:00s 1:00 -
Rule ATAQ 1988 1990 - Oct lastSun 2:00s 1:00 -
Rule ATAQ 1991 1999 - Oct Sun>=1 2:00s 1:00 -
Rule ATAQ 1991 2005 - Mar lastSun 2:00s 0 -
Rule ATAQ 2000 only - Aug lastSun 2:00s 1:00 -
Rule ATAQ 2001 max - Oct Sun>=1 2:00s 1:00 -
Rule ATAQ 2006 only - Apr Sun>=1 2:00s 0 -
Rule ATAQ 2007 only - Mar lastSun 2:00s 0 -
Rule ATAQ 2008 max - Apr Sun>=1 2:00s 0 -
# Argentina - year-round bases
# Argentina - year-round bases
# Belgrano II, Confin Coast, -770227-0343737, since 1972-02-05
# Belgrano II, Confin Coast, -770227-0343737, since 1972-02-05
...
@@ -120,20 +147,52 @@ Rule ChileAQ 2000 max - Mar Sun>=9 3:00u 0 -
...
@@ -120,20 +147,52 @@ Rule ChileAQ 2000 max - Mar Sun>=9 3:00u 0 -
# http://www.timeanddate.com/news/time/antarctica-new-times.html
# http://www.timeanddate.com/news/time/antarctica-new-times.html
# </a>
# </a>
# From Steffen Thorsen (2010-03-10):
# We got these changes from the Australian Antarctic Division:
# - Macquarie Island will stay on UTC+11 for winter and therefore not
# switch back from daylight savings time when other parts of Australia do
# on 4 April.
#
# - Casey station reverted to its normal time of UTC+8 on 5 March 2010.
# The change to UTC+11 is being considered as a regular summer thing but
# has not been decided yet.
#
# - Davis station will revert to its normal time of UTC+7 at 10 March 2010
# 20:00 UTC.
#
# - Mawson station stays on UTC+5.
#
# In addition to the Rule changes for Casey/Davis, it means that Macquarie
# will no longer be like Hobart and will have to have its own Zone created.
#
# Background:
# <a href="http://www.timeanddate.com/news/time/antartica-time-changes-2010.html">
# http://www.timeanddate.com/news/time/antartica-time-changes-2010.html
# </a>
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Antarctica/Casey 0 - zzz 1969
Zone Antarctica/Casey 0 - zzz 1969
8:00 - WST 2009 Oct 18 2:00
8:00 - WST 2009 Oct 18 2:00
# Western (Aus) Standard Time
# Western (Aus) Standard Time
11:00 - CAST # Casey Time
11:00 - CAST 2010 Mar 5 2:00
# Casey Time
8:00 - WST
Zone Antarctica/Davis 0 - zzz 1957 Jan 13
Zone Antarctica/Davis 0 - zzz 1957 Jan 13
7:00 - DAVT 1964 Nov # Davis Time
7:00 - DAVT 1964 Nov # Davis Time
0 - zzz 1969 Feb
0 - zzz 1969 Feb
7:00 - DAVT 2009 Oct 18 2:00
7:00 - DAVT 2009 Oct 18 2:00
5:00 - DAVT
5:00 - DAVT 2010 Mar 10 20:00u
7:00 - DAVT
Zone Antarctica/Mawson 0 - zzz 1954 Feb 13
Zone Antarctica/Mawson 0 - zzz 1954 Feb 13
6:00 - MAWT 2009 Oct 18 2:00
6:00 - MAWT 2009 Oct 18 2:00
# Mawson Time
# Mawson Time
5:00 - MAWT
5:00 - MAWT
Zone Antarctica/Macquarie 0 - zzz 1911
10:00 - EST 1916 Oct 1 2:00
10:00 1:00 EST 1917 Feb
10:00 AusAQ EST 1967
10:00 ATAQ EST 2010 Apr 4 3:00
11:00 - MIST # Macquarie Island Time
# References:
# References:
# <a href="http://www.antdiv.gov.au/aad/exop/sfo/casey/casey_aws.html">
# <a href="http://www.antdiv.gov.au/aad/exop/sfo/casey/casey_aws.html">
# Casey Weather (1998-02-26)
# Casey Weather (1998-02-26)
...
...
make/sun/javazic/tzdata/asia
浏览文件 @
7bb3fca9
...
@@ -236,22 +236,20 @@ Zone Asia/Bahrain 3:22:20 - LMT 1920 # Al Manamah
...
@@ -236,22 +236,20 @@ Zone Asia/Bahrain 3:22:20 - LMT 1920 # Al Manamah
# 2010 midnight. The decision came at a cabinet meeting at the Prime
# 2010 midnight. The decision came at a cabinet meeting at the Prime
# Minister's Office last night..."
# Minister's Office last night..."
# From
Danvin Ruangchan (2009-12-24
):
# From
Alexander Krivenyshev (2010-03-22
):
#
...the news mentions DST will be turned off again 7 months after March
#
According to Bangladesh newspaper "The Daily Star,"
#
31st on Oct 31, 2010.
#
Cabinet cancels Daylight Saving Time
# <a href="http://www.thedailystar.net/newDesign/latest_news.php?nid=22817">
#
From Arthur David Olson (2009-12-26):
#
http://www.thedailystar.net/newDesign/latest_news.php?nid=22817
#
Indeed, "The government will advance again the Banglasdesh Standard
#
</a>
#
Time by one one hour on March 31 next year by enforcing the Daylight
#
or
#
Saving Time (DST) for seven months. It will continue till October 31
#
<a href="http://www.worldtimezone.com/dst_news/dst_news_bangladesh06.html">
#
until further notice." I take that last sentence as the
#
http://www.worldtimezone.com/dst_news/dst_news_bangladesh06.html
#
establishment of a rule.
#
</a>
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Dhaka 2009 only - Jun 19 23:00 1:00 S
Rule Dhaka 2009 only - Jun 19 23:00 1:00 S
Rule Dhaka 2010 only - Jan 1 0:00 0 -
Rule Dhaka 2009 only - Dec 31 23:59 0 -
Rule Dhaka 2010 max - Mar 31 23:00 1:00 S
Rule Dhaka 2010 max - Nov 1 0:00 0 -
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Asia/Dhaka 6:01:40 - LMT 1890
Zone Asia/Dhaka 6:01:40 - LMT 1890
...
@@ -2131,6 +2129,32 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
...
@@ -2131,6 +2129,32 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
# http://www.worldtimezone.com/dst_news/dst_news_gazastrip02.html
# http://www.worldtimezone.com/dst_news/dst_news_gazastrip02.html
# </a>
# </a>
# From Alexander Krivenyshev (2010-03-19):
# According to Voice of Palestine DST will last for 191 days, from March
# 26, 2010 till "the last Sunday before the tenth day of Tishri
# (October), each year" (October 03, 2010?)
#
# <a href="http://palvoice.org/forums/showthread.php?t=245697">
# http://palvoice.org/forums/showthread.php?t=245697
# </a>
# (in Arabic)
# or
# <a href="http://www.worldtimezone.com/dst_news/dst_news_westbank03.html">
# http://www.worldtimezone.com/dst_news/dst_news_westbank03.html
# </a>
# From Steffen Thorsen (2010-03-24):
# ...Ma'an News Agency reports that Hamas cabinet has decided it will
# start one day later, at 12:01am. Not sure if they really mean 12:01am or
# noon though:
#
# <a href="http://www.maannews.net/eng/ViewDetails.aspx?ID=271178">
# http://www.maannews.net/eng/ViewDetails.aspx?ID=271178
# </a>
# (Ma'an News Agency)
# "At 12:01am Friday, clocks in Israel and the West Bank will change to
# 1:01am, while Gaza clocks will change at 12:01am Saturday morning."
# The rules for Egypt are stolen from the `africa' file.
# The rules for Egypt are stolen from the `africa' file.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule EgyptAsia 1957 only - May 10 0:00 1:00 S
Rule EgyptAsia 1957 only - May 10 0:00 1:00 S
...
@@ -2148,7 +2172,8 @@ Rule Palestine 2006 2008 - Apr 1 0:00 1:00 S
...
@@ -2148,7 +2172,8 @@ Rule Palestine 2006 2008 - Apr 1 0:00 1:00 S
Rule Palestine 2006 only - Sep 22 0:00 0 -
Rule Palestine 2006 only - Sep 22 0:00 0 -
Rule Palestine 2007 only - Sep Thu>=8 2:00 0 -
Rule Palestine 2007 only - Sep Thu>=8 2:00 0 -
Rule Palestine 2008 only - Aug lastFri 2:00 0 -
Rule Palestine 2008 only - Aug lastFri 2:00 0 -
Rule Palestine 2009 max - Mar lastFri 0:00 1:00 S
Rule Palestine 2009 only - Mar lastFri 0:00 1:00 S
Rule Palestine 2010 max - Mar lastSat 0:01 1:00 S
Rule Palestine 2009 max - Sep Fri>=1 2:00 0 -
Rule Palestine 2009 max - Sep Fri>=1 2:00 0 -
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
...
@@ -2440,9 +2465,18 @@ Rule Syria 2007 only - Nov Fri>=1 0:00 0 -
...
@@ -2440,9 +2465,18 @@ Rule Syria 2007 only - Nov Fri>=1 0:00 0 -
# Thursday of the month or the start of the last Friday of the month or
# Thursday of the month or the start of the last Friday of the month or
# something else. For now, use the start of the last Friday.
# something else. For now, use the start of the last Friday.
# From Steffen Thorsen (2010-03-17):
# The "Syrian News Station" reported on 2010-03-16 that the Council of
# Ministers has decided that Syria will start DST on midnight Thursday
# 2010-04-01: (midnight between Thursday and Friday):
# <a href="http://sns.sy/sns/?path=news/read/11421">
# http://sns.sy/sns/?path=news/read/11421 (Arabic)
# </a>
Rule Syria 2008 only - Apr Fri>=1 0:00 1:00 S
Rule Syria 2008 only - Apr Fri>=1 0:00 1:00 S
Rule Syria 2008 only - Nov 1 0:00 0 -
Rule Syria 2008 only - Nov 1 0:00 0 -
Rule Syria 2009 max - Mar lastFri 0:00 1:00 S
Rule Syria 2009 only - Mar lastFri 0:00 1:00 S
Rule Syria 2010 max - Apr Fri>=1 0:00 1:00 S
Rule Syria 2009 max - Oct lastFri 0:00 0 -
Rule Syria 2009 max - Oct lastFri 0:00 0 -
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
...
...
make/sun/javazic/tzdata/australasia
浏览文件 @
7bb3fca9
...
@@ -289,11 +289,30 @@ Zone Indian/Cocos 6:27:40 - LMT 1900
...
@@ -289,11 +289,30 @@ Zone Indian/Cocos 6:27:40 - LMT 1900
# <a href="http://www.fiji.gov.fj/publish/page_16198.shtml">
# <a href="http://www.fiji.gov.fj/publish/page_16198.shtml">
# http://www.fiji.gov.fj/publish/page_16198.shtml
# http://www.fiji.gov.fj/publish/page_16198.shtml
# </a>
# </a>
# From Steffen Thorsen (2010-03-03):
# The Cabinet in Fiji has decided to end DST about a month early, on
# 2010-03-28 at 03:00.
# The plan is to observe DST again, from 2010-10-24 to sometime in March
# 2011 (last Sunday a good guess?).
#
# Official source:
# <a href="http://www.fiji.gov.fj/index.php?option=com_content&view=article&id=1096:3310-cabinet-approves-change-in-daylight-savings-dates&catid=49:cabinet-releases&Itemid=166">
# http://www.fiji.gov.fj/index.php?option=com_content&view=article&id=1096:3310-cabinet-approves-change-in-daylight-savings-dates&catid=49:cabinet-releases&Itemid=166
# </a>
#
# A bit more background info here:
# <a href="http://www.timeanddate.com/news/time/fiji-dst-ends-march-2010.html">
# http://www.timeanddate.com/news/time/fiji-dst-ends-march-2010.html
# </a>
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Fiji 1998 1999 - Nov Sun>=1 2:00 1:00 S
Rule Fiji 1998 1999 - Nov Sun>=1 2:00 1:00 S
Rule Fiji 1999 2000 - Feb lastSun 3:00 0 -
Rule Fiji 1999 2000 - Feb lastSun 3:00 0 -
Rule Fiji 2009 only - Nov 29 2:00 1:00 S
Rule Fiji 2009 only - Nov 29 2:00 1:00 S
Rule Fiji 2010 only - Apr 25 3:00 0 -
Rule Fiji 2010 only - Mar lastSun 3:00 0 -
Rule Fiji 2010 only - Oct 24 2:00 1:00 S
Rule Fiji 2011 only - Mar lastSun 3:00 0 -
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Pacific/Fiji 11:53:40 - LMT 1915 Oct 26 # Suva
Zone Pacific/Fiji 11:53:40 - LMT 1915 Oct 26 # Suva
12:00 Fiji FJ%sT # Fiji Time
12:00 Fiji FJ%sT # Fiji Time
...
@@ -471,70 +490,30 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5
...
@@ -471,70 +490,30 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5
# Samoa
# Samoa
# From Alexander Krivenyshev (2008-12-06):
# From Steffen Thorsen (2009-10-16):
# The Samoa government (Western Samoa) may implement DST on the first Sunday of
# We have been in contact with the government of Samoa again, and received
# October 2009 (October 4, 2009) until the last Sunday of March 2010 (March 28,
# the following info:
# 2010).
#
#
# "Cabinet has now approved Daylight Saving to be effected next year
# "Selected Committee reports to Cabinet on Daylight Saving Time",
# commencing from the last Sunday of September 2010 and conclude first
# Government of Samoa:
# Sunday of April 2011."
# <a href="http://www.govt.ws/pr_article.cfm?pr_id=560">
# http://www.govt.ws/pr_article.cfm?pr_id=560
# </a>
# or
# <a href="http://www.worldtimezone.com/dst_news/dst_news_samoa01.html">
# http://www.worldtimezone.com/dst_news/dst_news_samoa01.html
# </a>
# From Steffen Thorsen (2009-08-27):
# Samoa's parliament passed the Daylight Saving Bill 2009, and will start
# daylight saving time on the first Sunday of October 2009 and end on the
# last Sunday of March 2010. We hope that the full text will be published
# soon, but we believe that the bill is only valid for 2009-2010. Samoa's
# Daylight Saving Act 2009 will be enforced as soon as the Head of State
# executes a proclamation publicizing this Act.
#
#
# Some background information here, which will be updated once we have
# Background info:
# more details:
# <a href="http://www.timeanddate.com/news/time/samoa-dst-plan-2009.html">
# <a href="http://www.timeanddate.com/news/time/samoa-dst-plan-2009.html">
# http://www.timeanddate.com/news/time/samoa-dst-plan-2009.html
# http://www.timeanddate.com/news/time/samoa-dst-plan-2009.html
# </a>
# </a>
# From Alexander Krivenyshev (2009-10-03):
# First, my deepest condolences to people of Samoa islands and all families and
# loved ones around the world who lost their lives in the earthquake and tsunami.
#
# Considering the recent devastation on Samoa by earthquake and tsunami and that
# many government offices/ ministers are closed- not sure if "Daylight Saving
# Bill 2009" will be implemented in next few days- on October 4, 2009.
#
# Here is reply from Consulate-General of Samoa in New Zealand
# ---------------------------
# Consul General
# consulgeneral@samoaconsulate.org.nz
#
#
# Talofa Alexander,
# Samoa's Daylight Saving Time Act 2009 is available here, but does not
#
# contain any dates:
# Thank you for your sympathy for our country but at this time we have not
# <a href="http://www.parliament.gov.ws/documents/acts/Daylight%20Saving%20Act%20%202009%20%28English%29%20-%20Final%207-7-091.pdf">
# been informed about the Daylight Savings Time Change. Most Ministries in
# http://www.parliament.gov.ws/documents/acts/Daylight%20Saving%20Act%20%202009%20%28English%29%20-%20Final%207-7-091.pdf
# Apia are closed or relocating due to weather concerns.
# </a>
#
# When we do find out if they are still proceeding with the time change we
# will advise you soonest.
#
# Kind Regards,
# Lana
# for: Consul General
# From Steffen Thorsen (2009-10-05):
# We have called a hotel in Samoa and asked about local time there - they
# are still on standard time.
Zone Pacific/Apia 12:33:04 - LMT 1879 Jul 5
Zone Pacific/Apia 12:33:04 - LMT 1879 Jul 5
-11:26:56 - LMT 1911
-11:26:56 - LMT 1911
-11:30 - SAMT 1950 # Samoa Time
-11:30 - SAMT 1950 # Samoa Time
-11:00 - WST 20
09 Oct 4
-11:00 - WST 20
10 Sep 26
-11:00 1:00 WSDT 201
0 Mar 28
-11:00 1:00 WSDT 201
1 Apr 3
-11:00 - WST
-11:00 - WST
# Solomon Is
# Solomon Is
...
...
make/sun/javazic/tzdata/europe
浏览文件 @
7bb3fca9
...
@@ -2063,7 +2063,9 @@ Zone Europe/Samara 3:20:36 - LMT 1919 Jul 1 2:00
...
@@ -2063,7 +2063,9 @@ Zone Europe/Samara 3:20:36 - LMT 1919 Jul 1 2:00
3:00 Russia KUY%sT 1991 Mar 31 2:00s
3:00 Russia KUY%sT 1991 Mar 31 2:00s
2:00 Russia KUY%sT 1991 Sep 29 2:00s
2:00 Russia KUY%sT 1991 Sep 29 2:00s
3:00 - KUYT 1991 Oct 20 3:00
3:00 - KUYT 1991 Oct 20 3:00
4:00 Russia SAM%sT # Samara Time
4:00 Russia SAM%sT 2010 Mar 28 2:00s # Samara Time
3:00 Russia SAM%sT
#
#
# From Oscar van Vlijmen (2001-08-25): [This region consists of]
# From Oscar van Vlijmen (2001-08-25): [This region consists of]
# Respublika Bashkortostan, Komi-Permyatskij avtonomnyj okrug,
# Respublika Bashkortostan, Komi-Permyatskij avtonomnyj okrug,
...
@@ -2216,7 +2218,8 @@ Zone Asia/Kamchatka 10:34:36 - LMT 1922 Nov 10
...
@@ -2216,7 +2218,8 @@ Zone Asia/Kamchatka 10:34:36 - LMT 1922 Nov 10
11:00 - PETT 1930 Jun 21 # P-K Time
11:00 - PETT 1930 Jun 21 # P-K Time
12:00 Russia PET%sT 1991 Mar 31 2:00s
12:00 Russia PET%sT 1991 Mar 31 2:00s
11:00 Russia PET%sT 1992 Jan 19 2:00s
11:00 Russia PET%sT 1992 Jan 19 2:00s
12:00 Russia PET%sT
12:00 Russia PET%sT 2010 Mar 28 2:00s
11:00 Russia PET%sT
#
#
# Chukotskij avtonomnyj okrug
# Chukotskij avtonomnyj okrug
Zone Asia/Anadyr 11:49:56 - LMT 1924 May 2
Zone Asia/Anadyr 11:49:56 - LMT 1924 May 2
...
@@ -2224,7 +2227,8 @@ Zone Asia/Anadyr 11:49:56 - LMT 1924 May 2
...
@@ -2224,7 +2227,8 @@ Zone Asia/Anadyr 11:49:56 - LMT 1924 May 2
13:00 Russia ANA%sT 1982 Apr 1 0:00s
13:00 Russia ANA%sT 1982 Apr 1 0:00s
12:00 Russia ANA%sT 1991 Mar 31 2:00s
12:00 Russia ANA%sT 1991 Mar 31 2:00s
11:00 Russia ANA%sT 1992 Jan 19 2:00s
11:00 Russia ANA%sT 1992 Jan 19 2:00s
12:00 Russia ANA%sT
12:00 Russia ANA%sT 2010 Mar 28 2:00s
11:00 Russia ANA%sT
# Serbia
# Serbia
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
...
...
make/sun/javazic/tzdata/southamerica
浏览文件 @
7bb3fca9
...
@@ -1143,6 +1143,18 @@ Zone America/Rio_Branco -4:31:12 - LMT 1914
...
@@ -1143,6 +1143,18 @@ Zone America/Rio_Branco -4:31:12 - LMT 1914
# http://www.shoa.cl/noticias/2008/04hora/hora.htm
# http://www.shoa.cl/noticias/2008/04hora/hora.htm
# </a>.
# </a>.
# From Angel Chiang (2010-03-04):
# Subject: DST in Chile exceptionally extended to 3 April due to earthquake
# <a href="http://www.gobiernodechile.cl/viewNoticia.aspx?idArticulo=30098">
# http://www.gobiernodechile.cl/viewNoticia.aspx?idArticulo=30098
# </a>
# (in Spanish, last paragraph).
#
# This is breaking news. There should be more information available later.
# From Arthur Daivd Olson (2010-03-06):
# Angel Chiang's message confirmed by Julio Pacheco; Julio provided a patch.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Chile 1927 1932 - Sep 1 0:00 1:00 S
Rule Chile 1927 1932 - Sep 1 0:00 1:00 S
Rule Chile 1928 1932 - Apr 1 0:00 0 -
Rule Chile 1928 1932 - Apr 1 0:00 0 -
...
@@ -1177,7 +1189,9 @@ Rule Chile 2000 2007 - Mar Sun>=9 3:00u 0 -
...
@@ -1177,7 +1189,9 @@ Rule Chile 2000 2007 - Mar Sun>=9 3:00u 0 -
# N.B.: the end of March 29 in Chile is March 30 in Universal time,
# N.B.: the end of March 29 in Chile is March 30 in Universal time,
# which is used below in specifying the transition.
# which is used below in specifying the transition.
Rule Chile 2008 only - Mar 30 3:00u 0 -
Rule Chile 2008 only - Mar 30 3:00u 0 -
Rule Chile 2009 max - Mar Sun>=9 3:00u 0 -
Rule Chile 2009 only - Mar Sun>=9 3:00u 0 -
Rule Chile 2010 only - Apr 4 3:00u 0 -
Rule Chile 2011 max - Mar Sun>=9 3:00u 0 -
# IATA SSIM anomalies: (1992-02) says 1992-03-14;
# IATA SSIM anomalies: (1992-02) says 1992-03-14;
# (1996-09) says 1998-03-08. Ignore these.
# (1996-09) says 1998-03-08. Ignore these.
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
...
@@ -1386,8 +1400,24 @@ Rule Para 2002 2003 - Sep Sun>=1 0:00 1:00 S
...
@@ -1386,8 +1400,24 @@ Rule Para 2002 2003 - Sep Sun>=1 0:00 1:00 S
# Decree 1,867 (2004-03-05)
# Decree 1,867 (2004-03-05)
# From Carlos Raul Perasso via Jesper Norgaard Welen (2006-10-13)
# From Carlos Raul Perasso via Jesper Norgaard Welen (2006-10-13)
# <http://www.presidencia.gov.py/decretos/D1867.pdf>
# <http://www.presidencia.gov.py/decretos/D1867.pdf>
Rule Para 2004 max - Oct Sun>=15 0:00 1:00 S
Rule Para 2004 2009 - Oct Sun>=15 0:00 1:00 S
Rule Para 2005 max - Mar Sun>=8 0:00 0 -
Rule Para 2005 2009 - Mar Sun>=8 0:00 0 -
# From Carlos Raul Perasso (2010-02-18):
# By decree number 3958 issued yesterday (
# <a href="http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf">
# http://www.presidencia.gov.py/v1/wp-content/uploads/2010/02/decreto3958.pdf
# </a>
# )
# Paraguay changes its DST schedule, postponing the March rule to April and
# modifying the October date. The decree reads:
# ...
# Art. 1. It is hereby established that from the second Sunday of the month of
# April of this year (2010), the official time is to be set back 60 minutes,
# and that on the first Sunday of the month of October, it is to be set
# forward 60 minutes, in all the territory of the Paraguayan Republic.
# ...
Rule Para 2010 max - Oct Sun>=1 0:00 1:00 S
Rule Para 2010 max - Apr Sun>=8 0:00 0 -
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone America/Asuncion -3:50:40 - LMT 1890
Zone America/Asuncion -3:50:40 - LMT 1890
...
...
make/sun/javazic/tzdata/zone.tab
浏览文件 @
7bb3fca9
...
@@ -66,6 +66,7 @@ AQ -6617+11031 Antarctica/Casey Casey Station, Bailey Peninsula
...
@@ -66,6 +66,7 @@ AQ -6617+11031 Antarctica/Casey Casey Station, Bailey Peninsula
AQ -7824+10654 Antarctica/Vostok Vostok Station, S Magnetic Pole
AQ -7824+10654 Antarctica/Vostok Vostok Station, S Magnetic Pole
AQ -6640+14001 Antarctica/DumontDUrville Dumont-d'Urville Station, Terre Adelie
AQ -6640+14001 Antarctica/DumontDUrville Dumont-d'Urville Station, Terre Adelie
AQ -690022+0393524 Antarctica/Syowa Syowa Station, E Ongul I
AQ -690022+0393524 Antarctica/Syowa Syowa Station, E Ongul I
AQ -5430+15857 Antarctica/Macquarie Macquarie Island Station, Macquarie Island
AR -3436-05827 America/Argentina/Buenos_Aires Buenos Aires (BA, CF)
AR -3436-05827 America/Argentina/Buenos_Aires Buenos Aires (BA, CF)
AR -3124-06411 America/Argentina/Cordoba most locations (CB, CC, CN, ER, FM, MN, SE, SF)
AR -3124-06411 America/Argentina/Cordoba most locations (CB, CC, CN, ER, FM, MN, SE, SF)
AR -2447-06525 America/Argentina/Salta (SA, LP, NQ, RN)
AR -2447-06525 America/Argentina/Salta (SA, LP, NQ, RN)
...
@@ -351,7 +352,7 @@ RS +4450+02030 Europe/Belgrade
...
@@ -351,7 +352,7 @@ RS +4450+02030 Europe/Belgrade
RU +5443+02030 Europe/Kaliningrad Moscow-01 - Kaliningrad
RU +5443+02030 Europe/Kaliningrad Moscow-01 - Kaliningrad
RU +5545+03735 Europe/Moscow Moscow+00 - west Russia
RU +5545+03735 Europe/Moscow Moscow+00 - west Russia
RU +4844+04425 Europe/Volgograd Moscow+00 - Caspian Sea
RU +4844+04425 Europe/Volgograd Moscow+00 - Caspian Sea
RU +5312+05009 Europe/Samara Moscow
+01
- Samara, Udmurtia
RU +5312+05009 Europe/Samara Moscow - Samara, Udmurtia
RU +5651+06036 Asia/Yekaterinburg Moscow+02 - Urals
RU +5651+06036 Asia/Yekaterinburg Moscow+02 - Urals
RU +5500+07324 Asia/Omsk Moscow+03 - west Siberia
RU +5500+07324 Asia/Omsk Moscow+03 - west Siberia
RU +5502+08255 Asia/Novosibirsk Moscow+03 - Novosibirsk
RU +5502+08255 Asia/Novosibirsk Moscow+03 - Novosibirsk
...
@@ -362,8 +363,8 @@ RU +6200+12940 Asia/Yakutsk Moscow+06 - Lena River
...
@@ -362,8 +363,8 @@ RU +6200+12940 Asia/Yakutsk Moscow+06 - Lena River
RU +4310+13156 Asia/Vladivostok Moscow+07 - Amur River
RU +4310+13156 Asia/Vladivostok Moscow+07 - Amur River
RU +4658+14242 Asia/Sakhalin Moscow+07 - Sakhalin Island
RU +4658+14242 Asia/Sakhalin Moscow+07 - Sakhalin Island
RU +5934+15048 Asia/Magadan Moscow+08 - Magadan
RU +5934+15048 Asia/Magadan Moscow+08 - Magadan
RU +5301+15839 Asia/Kamchatka Moscow+0
9
- Kamchatka
RU +5301+15839 Asia/Kamchatka Moscow+0
8
- Kamchatka
RU +6445+17729 Asia/Anadyr Moscow+
10
- Bering Sea
RU +6445+17729 Asia/Anadyr Moscow+
08
- Bering Sea
RW -0157+03004 Africa/Kigali
RW -0157+03004 Africa/Kigali
SA +2438+04643 Asia/Riyadh
SA +2438+04643 Asia/Riyadh
SB -0932+16012 Pacific/Guadalcanal
SB -0932+16012 Pacific/Guadalcanal
...
...
make/tools/src/build/tools/javazic/RuleDay.java
浏览文件 @
7bb3fca9
...
@@ -139,7 +139,7 @@ class RuleDay {
...
@@ -139,7 +139,7 @@ class RuleDay {
if
(
isLast
())
{
if
(
isLast
())
{
return
-
1
;
return
-
1
;
}
}
return
getDay
();
return
isEarlier
()
?
-
getDay
()
:
getDay
();
}
}
/**
/**
...
@@ -147,13 +147,10 @@ class RuleDay {
...
@@ -147,13 +147,10 @@ class RuleDay {
* @return the SimpleTimeZone day-of-week rule value
* @return the SimpleTimeZone day-of-week rule value
*/
*/
int
getDayOfWeekForSimpleTimeZoneInt
()
{
int
getDayOfWeekForSimpleTimeZoneInt
()
{
if
(!
isLater
()
&&
!
isEarlier
()
&&
!
isLast
())
{
if
(
isEarlier
()
||
isLater
())
{
return
0
;
}
if
(
isLater
())
{
return
-
getDayOfWeekNum
();
return
-
getDayOfWeekNum
();
}
}
return
getDayOfWeekNum
()
;
return
isLast
()
?
getDayOfWeekNum
()
:
0
;
}
}
/**
/**
...
...
src/share/classes/java/beans/Expression.java
浏览文件 @
7bb3fca9
...
@@ -98,6 +98,29 @@ public class Expression extends Statement {
...
@@ -98,6 +98,29 @@ public class Expression extends Statement {
setValue
(
value
);
setValue
(
value
);
}
}
/**
* {@inheritDoc}
* <p>
* If the invoked method completes normally,
* the value it returns is copied in the {@code value} property.
* Note that the {@code value} property is set to {@code null},
* if the return type of the underlying method is {@code void}.
*
* @throws NullPointerException if the value of the {@code target} or
* {@code methodName} property is {@code null}
* @throws NoSuchMethodException if a matching method is not found
* @throws SecurityException if a security manager exists and
* it denies the method invocation
* @throws Exception that is thrown by the invoked method
*
* @see java.lang.reflect.Method
* @since 1.7
*/
@Override
public
void
execute
()
throws
Exception
{
setValue
(
invoke
());
}
/**
/**
* If the value property of this instance is not already set,
* If the value property of this instance is not already set,
* this method dynamically finds the method with the specified
* this method dynamically finds the method with the specified
...
...
src/share/classes/java/beans/Statement.java
浏览文件 @
7bb3fca9
...
@@ -127,8 +127,8 @@ public class Statement {
...
@@ -127,8 +127,8 @@ public class Statement {
}
}
/**
/**
* The
execute
method finds a method whose name is the same
* The
{@code execute}
method finds a method whose name is the same
* as the
methodName
property, and invokes the method on
* as the
{@code methodName}
property, and invokes the method on
* the target.
* the target.
*
*
* When the target's class defines many methods with the given name
* When the target's class defines many methods with the given name
...
@@ -136,7 +136,7 @@ public class Statement {
...
@@ -136,7 +136,7 @@ public class Statement {
* the algorithm specified in the Java Language Specification
* the algorithm specified in the Java Language Specification
* (15.11). The dynamic class of the target and arguments are used
* (15.11). The dynamic class of the target and arguments are used
* in place of the compile-time type information and, like the
* in place of the compile-time type information and, like the
*
<code>java.lang.reflect.Method</code>
class itself, conversion between
*
{@link java.lang.reflect.Method}
class itself, conversion between
* primitive values and their associated wrapper classes is handled
* primitive values and their associated wrapper classes is handled
* internally.
* internally.
* <p>
* <p>
...
@@ -147,13 +147,22 @@ public class Statement {
...
@@ -147,13 +147,22 @@ public class Statement {
* <li>
* <li>
* The reserved method name "new" may be used to call a class's constructor
* The reserved method name "new" may be used to call a class's constructor
* as if all classes defined static "new" methods. Constructor invocations
* as if all classes defined static "new" methods. Constructor invocations
* are typically considered
<code>Expression</code>s rather than <code>Statement</code>
s
* are typically considered
{@code Expression}s rather than {@code Statement}
s
* as they return a value.
* as they return a value.
* <li>
* <li>
* The method names "get" and "set" defined in the
<code>java.util.List</code>
* The method names "get" and "set" defined in the
{@link java.util.List}
* interface may also be applied to array instances, mapping to
* interface may also be applied to array instances, mapping to
* the static methods of the same name in the
<code>Array</code>
class.
* the static methods of the same name in the
{@code Array}
class.
* </ul>
* </ul>
*
* @throws NullPointerException if the value of the {@code target} or
* {@code methodName} property is {@code null}
* @throws NoSuchMethodException if a matching method is not found
* @throws SecurityException if a security manager exists and
* it denies the method invocation
* @throws Exception that is thrown by the invoked method
*
* @see java.lang.reflect.Method
*/
*/
public
void
execute
()
throws
Exception
{
public
void
execute
()
throws
Exception
{
invoke
();
invoke
();
...
...
src/share/classes/javax/swing/JSplitPane.java
浏览文件 @
7bb3fca9
...
@@ -246,8 +246,7 @@ public class JSplitPane extends JComponent implements Accessible
...
@@ -246,8 +246,7 @@ public class JSplitPane extends JComponent implements Accessible
* layout, using two buttons for the components.
* layout, using two buttons for the components.
*/
*/
public
JSplitPane
()
{
public
JSplitPane
()
{
this
(
JSplitPane
.
HORIZONTAL_SPLIT
,
this
(
JSplitPane
.
HORIZONTAL_SPLIT
,
false
,
UIManager
.
getBoolean
(
"SplitPane.continuousLayout"
),
new
JButton
(
UIManager
.
getString
(
"SplitPane.leftButtonText"
)),
new
JButton
(
UIManager
.
getString
(
"SplitPane.leftButtonText"
)),
new
JButton
(
UIManager
.
getString
(
"SplitPane.rightButtonText"
)));
new
JButton
(
UIManager
.
getString
(
"SplitPane.rightButtonText"
)));
}
}
...
@@ -264,8 +263,7 @@ public class JSplitPane extends JComponent implements Accessible
...
@@ -264,8 +263,7 @@ public class JSplitPane extends JComponent implements Accessible
*/
*/
@ConstructorProperties
({
"orientation"
})
@ConstructorProperties
({
"orientation"
})
public
JSplitPane
(
int
newOrientation
)
{
public
JSplitPane
(
int
newOrientation
)
{
this
(
newOrientation
,
this
(
newOrientation
,
false
);
UIManager
.
getBoolean
(
"SplitPane.continuousLayout"
));
}
}
...
@@ -309,9 +307,7 @@ public class JSplitPane extends JComponent implements Accessible
...
@@ -309,9 +307,7 @@ public class JSplitPane extends JComponent implements Accessible
public
JSplitPane
(
int
newOrientation
,
public
JSplitPane
(
int
newOrientation
,
Component
newLeftComponent
,
Component
newLeftComponent
,
Component
newRightComponent
){
Component
newRightComponent
){
this
(
newOrientation
,
this
(
newOrientation
,
false
,
newLeftComponent
,
newRightComponent
);
UIManager
.
getBoolean
(
"SplitPane.continuousLayout"
),
newLeftComponent
,
newRightComponent
);
}
}
...
...
src/share/classes/javax/swing/plaf/basic/BasicTextUI.java
浏览文件 @
7bb3fca9
...
@@ -762,7 +762,9 @@ public abstract class BasicTextUI extends TextUI implements ViewFactory {
...
@@ -762,7 +762,9 @@ public abstract class BasicTextUI extends TextUI implements ViewFactory {
* component's background color to be painted.
* component's background color to be painted.
* <li>
* <li>
* Installs the default caret and highlighter into the
* Installs the default caret and highlighter into the
* associated component.
* associated component. These properties are only set if their
* current value is either {@code null} or an instance of
* {@link UIResource}.
* <li>
* <li>
* Attaches to the editor and model. If there is no
* Attaches to the editor and model. If there is no
* model, a default one is created.
* model, a default one is created.
...
...
src/share/classes/javax/swing/plaf/nimbus/skin.laf
浏览文件 @
7bb3fca9
...
@@ -21276,7 +21276,6 @@
...
@@ -21276,7 +21276,6 @@
<uiProperty name="centerOneTouchButtons" type="BOOLEAN" value="true"/>
<uiProperty name="centerOneTouchButtons" type="BOOLEAN" value="true"/>
<uiProperty name="oneTouchButtonOffset" type="INT" value="30"/>
<uiProperty name="oneTouchButtonOffset" type="INT" value="30"/>
<uiProperty name="oneTouchExpandable" type="BOOLEAN" value="false"/>
<uiProperty name="oneTouchExpandable" type="BOOLEAN" value="false"/>
<uiProperty name="continuousLayout" type="BOOLEAN" value="true"/>
</uiproperties>
</uiproperties>
</style>
</style>
<backgroundStates>
<backgroundStates>
src/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java
浏览文件 @
7bb3fca9
...
@@ -648,6 +648,14 @@ public class SynthLookAndFeel extends BasicLookAndFeel {
...
@@ -648,6 +648,14 @@ public class SynthLookAndFeel extends BasicLookAndFeel {
table
.
put
(
"ColorChooser.swatchesDefaultRecentColor"
,
Color
.
RED
);
table
.
put
(
"ColorChooser.swatchesDefaultRecentColor"
,
Color
.
RED
);
table
.
put
(
"ColorChooser.swatchesSwatchSize"
,
new
Dimension
(
10
,
10
));
table
.
put
(
"ColorChooser.swatchesSwatchSize"
,
new
Dimension
(
10
,
10
));
// These need to be defined for ImageView.
table
.
put
(
"html.pendingImage"
,
SwingUtilities2
.
makeIcon
(
getClass
(),
BasicLookAndFeel
.
class
,
"icons/image-delayed.png"
));
table
.
put
(
"html.missingImage"
,
SwingUtilities2
.
makeIcon
(
getClass
(),
BasicLookAndFeel
.
class
,
"icons/image-failed.png"
));
// These are needed for PopupMenu.
// These are needed for PopupMenu.
table
.
put
(
"PopupMenu.selectedWindowInputMapBindings"
,
new
Object
[]
{
table
.
put
(
"PopupMenu.selectedWindowInputMapBindings"
,
new
Object
[]
{
"ESCAPE"
,
"cancel"
,
"ESCAPE"
,
"cancel"
,
...
...
src/share/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java
浏览文件 @
7bb3fca9
...
@@ -489,23 +489,6 @@ public class SynthTabbedPaneUI extends BasicTabbedPaneUI
...
@@ -489,23 +489,6 @@ public class SynthTabbedPaneUI extends BasicTabbedPaneUI
}
}
/**
* @inheritDoc
*/
@Override
protected
void
paintTabArea
(
Graphics
g
,
int
tabPlacement
,
int
selectedIndex
)
{
// This can be invoked from ScrollabeTabPanel
Insets
insets
=
tabPane
.
getInsets
();
int
x
=
insets
.
left
;
int
y
=
insets
.
top
;
int
width
=
tabPane
.
getWidth
()
-
insets
.
left
-
insets
.
right
;
int
height
=
tabPane
.
getHeight
()
-
insets
.
top
-
insets
.
bottom
;
paintTabArea
(
tabAreaContext
,
g
,
tabPlacement
,
selectedIndex
,
new
Rectangle
(
x
,
y
,
width
,
height
));
}
private
void
paintTabArea
(
SynthContext
ss
,
Graphics
g
,
private
void
paintTabArea
(
SynthContext
ss
,
Graphics
g
,
int
tabPlacement
,
int
selectedIndex
,
int
tabPlacement
,
int
selectedIndex
,
Rectangle
tabAreaBounds
)
{
Rectangle
tabAreaBounds
)
{
...
...
src/share/classes/sun/util/resources/TimeZoneNames.java
浏览文件 @
7bb3fca9
...
@@ -446,12 +446,13 @@ public final class TimeZoneNames extends TimeZoneNamesBundle {
...
@@ -446,12 +446,13 @@ public final class TimeZoneNames extends TimeZoneNamesBundle {
{
"America/Winnipeg"
,
CST
},
{
"America/Winnipeg"
,
CST
},
{
"America/Yakutat"
,
AKST
},
{
"America/Yakutat"
,
AKST
},
{
"America/Yellowknife"
,
MST
},
{
"America/Yellowknife"
,
MST
},
{
"Antarctica/Casey"
,
new
String
[]
{
"Casey Time"
,
"CAST"
,
{
"Antarctica/Casey"
,
WST_AUS
},
"Casey Summer Time"
,
"CAST"
}},
{
"Antarctica/Davis"
,
new
String
[]
{
"Davis Time"
,
"DAVT"
,
{
"Antarctica/Davis"
,
new
String
[]
{
"Davis Time"
,
"DAVT"
,
"Davis Summer Time"
,
"DAVST"
}},
"Davis Summer Time"
,
"DAVST"
}},
{
"Antarctica/DumontDUrville"
,
new
String
[]
{
"Dumont-d'Urville Time"
,
"DDUT"
,
{
"Antarctica/DumontDUrville"
,
new
String
[]
{
"Dumont-d'Urville Time"
,
"DDUT"
,
"Dumont-d'Urville Summer Time"
,
"DDUST"
}},
"Dumont-d'Urville Summer Time"
,
"DDUST"
}},
{
"Antarctica/Macquarie"
,
new
String
[]
{
"Macquarie Island Time"
,
"MIST"
,
"Macquarie Island Summer Time"
,
"MIST"
}},
{
"Antarctica/Mawson"
,
new
String
[]
{
"Mawson Time"
,
"MAWT"
,
{
"Antarctica/Mawson"
,
new
String
[]
{
"Mawson Time"
,
"MAWT"
,
"Mawson Summer Time"
,
"MAWST"
}},
"Mawson Summer Time"
,
"MAWST"
}},
{
"Antarctica/McMurdo"
,
NZST
},
{
"Antarctica/McMurdo"
,
NZST
},
...
...
src/windows/native/sun/windows/awt_Component.cpp
浏览文件 @
7bb3fca9
/*
/*
* Copyright 1996-20
09
Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1996-20
10
Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -3707,8 +3707,7 @@ void AwtComponent::SetCompositionWindow(RECT& r)
...
@@ -3707,8 +3707,7 @@ void AwtComponent::SetCompositionWindow(RECT& r)
if
(
hIMC
==
NULL
)
{
if
(
hIMC
==
NULL
)
{
return
;
return
;
}
}
COMPOSITIONFORM
cf
=
{
CFS_POINT
,
{
0
,
r
.
bottom
},
NULL
};
COMPOSITIONFORM
cf
=
{
CFS_DEFAULT
,
{
0
,
0
},
{
0
,
0
,
0
,
0
}};
// Place the composition window right below the client Window
ImmSetCompositionWindow
(
hIMC
,
&
cf
);
ImmSetCompositionWindow
(
hIMC
,
&
cf
);
}
}
...
...
test/java/beans/Statement/Test6707226.java
0 → 100644
浏览文件 @
7bb3fca9
/*
* Copyright 2010 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
/*
* @test
* @bug 6707226
* @summary Tests the value updating in Expression
* @author Sergey Malenkov
*/
import
java.beans.Expression
;
public
class
Test6707226
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
Object
value
=
new
Object
();
Expression
expression
=
new
Expression
(
value
,
Object
.
class
,
"new"
,
null
);
if
(!
value
.
equals
(
expression
.
getValue
()))
throw
new
Error
(
"the value is updated unexpectedly"
);
expression
.
execute
();
if
(
value
.
equals
(
expression
.
getValue
()))
throw
new
Error
(
"the value is not updated as expected"
);
}
}
test/javax/swing/plaf/synth/Test6933784.java
0 → 100644
浏览文件 @
7bb3fca9
/*
* Copyright 2010 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
/* @test
@bug 6933784
@summary NIMBUS: ImageView getNoImageIcon and getLoadingImageIcon returns nulls instead of an icon
@author Pavel Porvatov
@run main Test6933784
*/
import
javax.swing.*
;
import
javax.swing.plaf.nimbus.NimbusLookAndFeel
;
import
javax.swing.plaf.synth.SynthLookAndFeel
;
import
javax.swing.text.Element
;
import
javax.swing.text.html.HTMLDocument
;
import
javax.swing.text.html.HTMLEditorKit
;
import
javax.swing.text.html.ImageView
;
import
java.io.StringReader
;
public
class
Test6933784
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
UIManager
.
setLookAndFeel
(
new
SynthLookAndFeel
());
checkImages
();
UIManager
.
setLookAndFeel
(
new
NimbusLookAndFeel
());
checkImages
();
}
private
static
void
checkImages
()
throws
Exception
{
SwingUtilities
.
invokeAndWait
(
new
Runnable
()
{
public
void
run
()
{
HTMLEditorKit
c
=
new
HTMLEditorKit
();
HTMLDocument
doc
=
new
HTMLDocument
();
try
{
c
.
read
(
new
StringReader
(
"<HTML><TITLE>Test</TITLE><BODY><IMG id=test></BODY></HTML>"
),
doc
,
0
);
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
"The test failed"
,
e
);
}
Element
elem
=
doc
.
getElement
(
"test"
);
ImageView
iv
=
new
ImageView
(
elem
);
if
(
iv
.
getLoadingImageIcon
()
==
null
)
{
throw
new
RuntimeException
(
"getLoadingImageIcon returns null"
);
}
if
(
iv
.
getNoImageIcon
()
==
null
)
{
throw
new
RuntimeException
(
"getNoImageIcon returns null"
);
}
}
});
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录