提交 18af0f90 编写于 作者: M michaelm

Merge

...@@ -122,3 +122,7 @@ efbf75c24b0f31847c9c403f6dc07dc80551908d jdk7-b143 ...@@ -122,3 +122,7 @@ efbf75c24b0f31847c9c403f6dc07dc80551908d jdk7-b143
1e04b38b3824a4a1d197ef681a302e6813e53f8b jdk7-b145 1e04b38b3824a4a1d197ef681a302e6813e53f8b jdk7-b145
539e576793a8e64aaf160e0d6ab0b9723cd0bef0 jdk7-b146 539e576793a8e64aaf160e0d6ab0b9723cd0bef0 jdk7-b146
f097ca2434b1412b12ab4a5c2397ce271bf681e7 jdk7-b147 f097ca2434b1412b12ab4a5c2397ce271bf681e7 jdk7-b147
2cdbbc4a63592be7f1556fffe37b1253a77bd481 jdk8-b01
13e70aa1398eb959c54bc68b783ca0eef1286ad2 jdk8-b02
7989ee9fe673a87f4db3917fa6a005732a6a9b85 jdk8-b03
fc569517f3cf242f90ce3503b743eb5553938946 jdk8-b04
...@@ -47,7 +47,7 @@ FILES_copy = $(SERVICETAG_RESOURCES_DIR)/product_registration.xsd \ ...@@ -47,7 +47,7 @@ FILES_copy = $(SERVICETAG_RESOURCES_DIR)/product_registration.xsd \
# Add all properties files to the FILES_copy list # Add all properties files to the FILES_copy list
SWORDFISH_properties := $(shell \ SWORDFISH_properties := $(shell \
$(CD) $(SHARE_SRC)/classes/com/sun/servicetag/resources; \ $(CD) $(SHARE_SRC)/classes/com/sun/servicetag/resources; \
$(FIND) . -name 'javase_*_swordfish.properties' -print ; \ $(FIND) . -name 'javase_*.properties' -print ; \
) )
FILES_copy += $(shell \ FILES_copy += $(shell \
for f in $(SWORDFISH_properties) ; do \ for f in $(SWORDFISH_properties) ; do \
......
...@@ -300,6 +300,9 @@ JRE_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-image ...@@ -300,6 +300,9 @@ JRE_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-image
#where the demo source can be found #where the demo source can be found
DEMOSRCDIR = $(SHARE_SRC)/demo DEMOSRCDIR = $(SHARE_SRC)/demo
#where the sample source can be found
SAMPLESRCDIR = $(SHARE_SRC)/sample
# An attempt is made to generate unique enough directories for the # An attempt is made to generate unique enough directories for the
# generated files to not have name collisisons. Most build units # generated files to not have name collisisons. Most build units
# defines PRODUCT (except Release.gmk), but then they may or may # defines PRODUCT (except Release.gmk), but then they may or may
......
...@@ -208,7 +208,6 @@ JAVA_JAVA_java = \ ...@@ -208,7 +208,6 @@ JAVA_JAVA_java = \
java/util/Observable.java \ java/util/Observable.java \
java/util/Observer.java \ java/util/Observer.java \
java/util/Properties.java \ java/util/Properties.java \
java/util/XMLUtils.java \
java/util/InvalidPropertiesFormatException.java \ java/util/InvalidPropertiesFormatException.java \
java/util/PropertyPermission.java \ java/util/PropertyPermission.java \
java/util/PropertyResourceBundle.java \ java/util/PropertyResourceBundle.java \
......
...@@ -151,6 +151,7 @@ FILES_compiled_properties = \ ...@@ -151,6 +151,7 @@ FILES_compiled_properties = \
sun/util/resources/CurrencyNames_es_CL.properties \ sun/util/resources/CurrencyNames_es_CL.properties \
sun/util/resources/CurrencyNames_es_CO.properties \ sun/util/resources/CurrencyNames_es_CO.properties \
sun/util/resources/CurrencyNames_es_CR.properties \ sun/util/resources/CurrencyNames_es_CR.properties \
sun/util/resources/CurrencyNames_es_CU.properties \
sun/util/resources/CurrencyNames_es_DO.properties \ sun/util/resources/CurrencyNames_es_DO.properties \
sun/util/resources/CurrencyNames_es_EC.properties \ sun/util/resources/CurrencyNames_es_EC.properties \
sun/util/resources/CurrencyNames_es_ES.properties \ sun/util/resources/CurrencyNames_es_ES.properties \
......
...@@ -258,6 +258,15 @@ jprt.make.rule.all.test.targets= \ ...@@ -258,6 +258,15 @@ jprt.make.rule.all.test.targets= \
windows_i586_5.1-product-c1-jdk_security3, \ windows_i586_5.1-product-c1-jdk_security3, \
windows_x64_5.2-product-c2-jdk_security3, \ windows_x64_5.2-product-c2-jdk_security3, \
\ \
solaris_sparc_5.10-product-c1-jdk_sound, \
solaris_sparcv9_5.10-product-c2-jdk_sound, \
solaris_i586_5.10-product-c1-jdk_sound, \
solaris_x64_5.10-product-c2-jdk_sound, \
linux_i586_2.6-product-{c1|c2}-jdk_sound, \
linux_x64_2.6-product-c2-jdk_sound, \
windows_i586_5.1-product-c1-jdk_sound, \
windows_x64_5.2-product-c2-jdk_sound, \
\
solaris_sparc_5.10-product-c1-jdk_swing, \ solaris_sparc_5.10-product-c1-jdk_swing, \
solaris_sparcv9_5.10-product-c2-jdk_swing, \ solaris_sparcv9_5.10-product-c2-jdk_swing, \
solaris_i586_5.10-product-c1-jdk_swing, \ solaris_i586_5.10-product-c1-jdk_swing, \
......
...@@ -39,9 +39,14 @@ SUBDIRS_tools = jpda jvmti ...@@ -39,9 +39,14 @@ SUBDIRS_tools = jpda jvmti
include $(BUILDDIR)/common/Subdirs.gmk include $(BUILDDIR)/common/Subdirs.gmk
TOPLEVEL_FILES = \
$(DEMODIR)/README
all build:: nbproject all build:: nbproject
$(SUBDIRS-loop) $(SUBDIRS-loop)
all build:: $(TOPLEVEL_FILES)
nbproject: nbproject:
$(RM) -r $(DEMODIR)/nbproject $(RM) -r $(DEMODIR)/nbproject
$(MKDIR) -p $(DEMODIR) $(MKDIR) -p $(DEMODIR)
...@@ -54,8 +59,10 @@ ifndef OPENJDK ...@@ -54,8 +59,10 @@ ifndef OPENJDK
( $(CD) $(DEMODIR) && $(TAR) -xf - ) ( $(CD) $(DEMODIR) && $(TAR) -xf - )
endif endif
$(DEMODIR)/%: $(DEMOSRCDIR)/%
$(install-file)
clean clobber:: clean clobber::
$(SUBDIRS-loop) $(SUBDIRS-loop)
$(RM) -r $(DEMODIR) $(RM) -r $(DEMODIR)
$(RM) -r $(DEMOCLASSDIR) $(RM) -r $(DEMOCLASSDIR)
...@@ -49,8 +49,16 @@ endif ...@@ -49,8 +49,16 @@ endif
include $(BUILDDIR)/common/Subdirs.gmk include $(BUILDDIR)/common/Subdirs.gmk
TOPLEVEL_FILES = \
$(SAMPLEDIR)/README
all build clean clobber:: all build clean clobber::
$(SUBDIRS-loop) $(SUBDIRS-loop)
all build:: $(TOPLEVEL_FILES)
$(SAMPLEDIR)/%: $(SAMPLESRCDIR)/%
$(install-file)
clobber clean :: clobber clean ::
$(RM) -r $(SAMPLEDIR) $(RM) -r $(SAMPLEDIR)
...@@ -68,7 +68,7 @@ else ...@@ -68,7 +68,7 @@ else
endif endif
# nio need to be compiled before awt to have all charsets ready # nio need to be compiled before awt to have all charsets ready
SUBDIRS = jar security javazic misc net nio text launcher SUBDIRS = jar security javazic misc net nio text util launcher
ifdef BUILD_HEADLESS_ONLY ifdef BUILD_HEADLESS_ONLY
DISPLAY_LIBS = awt $(HEADLESS_SUBDIR) DISPLAY_LIBS = awt $(HEADLESS_SUBDIR)
......
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
# or visit www.oracle.com if you need additional information or have any # or visit www.oracle.com if you need additional information or have any
# questions. # questions.
# #
tzdata2011g tzdata2011j
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
# I invented the following abbreviations; corrections are welcome! # I invented the following abbreviations; corrections are welcome!
# 2:00 WAST West Africa Summer Time # 2:00 WAST West Africa Summer Time
# 2:30 BEAT British East Africa Time (no longer used) # 2:30 BEAT British East Africa Time (no longer used)
# 2:44:45 BEAUT British East Africa Unified Time (no longer used) # 2:45 BEAUT British East Africa Unified Time (no longer used)
# 3:00 CAST Central Africa Summer Time (no longer used) # 3:00 CAST Central Africa Summer Time (no longer used)
# 3:00 SAST South Africa Summer Time (no longer used) # 3:00 SAST South Africa Summer Time (no longer used)
# 3:00 EAT East Africa Time # 3:00 EAT East Africa Time
...@@ -418,7 +418,7 @@ Zone Africa/Bissau -1:02:20 - LMT 1911 May 26 ...@@ -418,7 +418,7 @@ Zone Africa/Bissau -1:02:20 - LMT 1911 May 26
Zone Africa/Nairobi 2:27:16 - LMT 1928 Jul Zone Africa/Nairobi 2:27:16 - LMT 1928 Jul
3:00 - EAT 1930 3:00 - EAT 1930
2:30 - BEAT 1940 2:30 - BEAT 1940
2:44:45 - BEAUT 1960 2:45 - BEAUT 1960
3:00 - EAT 3:00 - EAT
# Lesotho # Lesotho
...@@ -979,6 +979,11 @@ Zone Africa/Khartoum 2:10:08 - LMT 1931 ...@@ -979,6 +979,11 @@ Zone Africa/Khartoum 2:10:08 - LMT 1931
2:00 Sudan CA%sT 2000 Jan 15 12:00 2:00 Sudan CA%sT 2000 Jan 15 12:00
3:00 - EAT 3:00 - EAT
# South Sudan
Zone Africa/Juba 2:06:24 - LMT 1931
2:00 Sudan CA%sT 2000 Jan 15 12:00
3:00 - EAT
# Swaziland # Swaziland
# Zone NAME GMTOFF RULES FORMAT [UNTIL] # Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Africa/Mbabane 2:04:24 - LMT 1903 Mar Zone Africa/Mbabane 2:04:24 - LMT 1903 Mar
...@@ -988,7 +993,7 @@ Zone Africa/Mbabane 2:04:24 - LMT 1903 Mar ...@@ -988,7 +993,7 @@ Zone Africa/Mbabane 2:04:24 - LMT 1903 Mar
# Zone NAME GMTOFF RULES FORMAT [UNTIL] # Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Africa/Dar_es_Salaam 2:37:08 - LMT 1931 Zone Africa/Dar_es_Salaam 2:37:08 - LMT 1931
3:00 - EAT 1948 3:00 - EAT 1948
2:44:45 - BEAUT 1961 2:45 - BEAUT 1961
3:00 - EAT 3:00 - EAT
# Togo # Togo
...@@ -1114,7 +1119,7 @@ Zone Africa/Tunis 0:40:44 - LMT 1881 May 12 ...@@ -1114,7 +1119,7 @@ Zone Africa/Tunis 0:40:44 - LMT 1881 May 12
Zone Africa/Kampala 2:09:40 - LMT 1928 Jul Zone Africa/Kampala 2:09:40 - LMT 1928 Jul
3:00 - EAT 1930 3:00 - EAT 1930
2:30 - BEAT 1948 2:30 - BEAT 1948
2:44:45 - BEAUT 1957 2:45 - BEAUT 1957
3:00 - EAT 3:00 - EAT
# Zambia # Zambia
......
...@@ -41,18 +41,6 @@ ...@@ -41,18 +41,6 @@
# I made up all time zone abbreviations mentioned here; corrections welcome! # I made up all time zone abbreviations mentioned here; corrections welcome!
# FORMAT is `zzz' and GMTOFF is 0 for locations while uninhabited. # FORMAT is `zzz' and GMTOFF is 0 for locations while uninhabited.
# These rules are stolen from the `europe' file.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule RussAQ 1981 1984 - Apr 1 0:00 1:00 S
Rule RussAQ 1981 1983 - Oct 1 0:00 0 -
Rule RussAQ 1984 1991 - Sep lastSun 2:00s 0 -
Rule RussAQ 1985 1991 - Mar lastSun 2:00s 1:00 S
Rule RussAQ 1992 only - Mar lastSat 23:00 1:00 S
Rule RussAQ 1992 only - Sep lastSat 23:00 0 -
Rule RussAQ 1993 max - Mar lastSun 2:00s 1:00 S
Rule RussAQ 1993 1995 - Sep lastSun 2:00s 0 -
Rule RussAQ 1996 max - Oct lastSun 2:00s 0 -
# These rules are stolen from the `southamerica' file. # These rules are stolen from the `southamerica' file.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule ArgAQ 1964 1966 - Mar 1 0:00 0 - Rule ArgAQ 1964 1966 - Mar 1 0:00 0 -
......
...@@ -99,6 +99,10 @@ Rule RussiaAsia 1993 max - Mar lastSun 2:00s 1:00 S ...@@ -99,6 +99,10 @@ Rule RussiaAsia 1993 max - Mar lastSun 2:00s 1:00 S
Rule RussiaAsia 1993 1995 - Sep lastSun 2:00s 0 - Rule RussiaAsia 1993 1995 - Sep lastSun 2:00s 0 -
Rule RussiaAsia 1996 max - Oct lastSun 2:00s 0 - Rule RussiaAsia 1996 max - Oct lastSun 2:00s 0 -
# From Arthur David Olson (2011-06-15):
# While Russia abandoned DST in 2011, Armenia may choose to
# follow Russia's "old" rules.
# Afghanistan # Afghanistan
# Zone NAME GMTOFF RULES FORMAT [UNTIL] # Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Asia/Kabul 4:36:48 - LMT 1890 Zone Asia/Kabul 4:36:48 - LMT 1890
......
...@@ -521,7 +521,7 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5 ...@@ -521,7 +521,7 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5
# http://www.parliament.gov.ws/documents/acts/Daylight%20Saving%20Act%20%202009%20%28English%29%20-%20Final%207-7-091.pdf # http://www.parliament.gov.ws/documents/acts/Daylight%20Saving%20Act%20%202009%20%28English%29%20-%20Final%207-7-091.pdf
# </a> # </a>
# From Raymond Hughes (2010-10-07): # From Laupue Raymond Hughes (2010-10-07):
# Please see # Please see
# <a href="http://www.mcil.gov.ws"> # <a href="http://www.mcil.gov.ws">
# http://www.mcil.gov.ws # http://www.mcil.gov.ws
...@@ -531,7 +531,7 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5 ...@@ -531,7 +531,7 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5
# to 01:00am and First Sunday April 2011 (03/04/11) - adjust clocks # to 01:00am and First Sunday April 2011 (03/04/11) - adjust clocks
# backwards from 1:00am to 12:00am" # backwards from 1:00am to 12:00am"
# From Raymond Hughes (2011-03-07) # From Laupue Raymond Hughes (2011-03-07):
# I believe this will be posted shortly on the website # I believe this will be posted shortly on the website
# <a href="http://www.mcil.gov.ws"> # <a href="http://www.mcil.gov.ws">
# www.mcil.gov.ws # www.mcil.gov.ws
...@@ -551,12 +551,74 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5 ...@@ -551,12 +551,74 @@ Zone Pacific/Pago_Pago 12:37:12 - LMT 1879 Jul 5
# Margaret Fruean ACTING CHIEF EXECUTIVE OFFICER MINISTRY OF COMMERCE, # Margaret Fruean ACTING CHIEF EXECUTIVE OFFICER MINISTRY OF COMMERCE,
# INDUSTRY AND LABOUR 28th February 2011 # INDUSTRY AND LABOUR 28th February 2011
# From David Zuelke (2011-05-09):
# Subject: Samoa to move timezone from east to west of international date line
#
# <a href="http://www.morningstar.co.uk/uk/markets/newsfeeditem.aspx?id=138501958347963">
# http://www.morningstar.co.uk/uk/markets/newsfeeditem.aspx?id=138501958347963
# </a>
# From Mark Sim-Smith (2011-08-17):
# I have been in contact with Leilani Tuala Warren from the Samoa Law
# Reform Commission, and she has sent me a copy of the Bill that she
# confirmed has been passed...Most of the sections are about maps rather
# than the time zone change, but I'll paste the relevant bits below. But
# the essence is that at midnight 29 Dec (UTC-11 I suppose), Samoa
# changes from UTC-11 to UTC+13:
#
# International Date Line Bill 2011
#
# AN ACT to provide for the change to standard time in Samoa and to make
# consequential amendments to the position of the International Date
# Line, and for related purposes.
#
# BE IT ENACTED by the Legislative Assembly of Samoa in Parliament
# assembled as follows:
#
# 1. Short title and commencement-(1) This Act may be cited as the
# International Date Line Act 2011. (2) Except for section 5(3) this Act
# commences at 12 o'clock midnight, on Thursday 29th December 2011. (3)
# Section 5(3) commences on the date of assent by the Head of State.
#
# [snip]
#
# 3. Interpretation - [snip] "Samoa standard time" in this Act and any
# other statute of Samoa which refers to 'Samoa standard time' means the
# time 13 hours in advance of Co-ordinated Universal Time.
#
# 4. Samoa standard time - (1) Upon the commencement of this Act, Samoa
# standard time shall be set at 13 hours in advance of Co-ordinated
# Universal Time for the whole of Samoa. (2) All references to Samoa's
# time zone and to Samoa standard time in Samoa in all legislation and
# instruments after the commencement of this Act shall be references to
# Samoa standard time as provided for in this Act. (3) Nothing in this
# Act affects the provisions of the Daylight Saving Act 2009, except that
# it defines Samoa standard time....
# From Laupue Raymond Hughes (2011-09-02):
# <a href="http://www.mcil.gov.ws/mcil_publications.html">
# http://www.mcil.gov.ws/mcil_publications.html
# </a>
#
# here is the official website publication for Samoa DST and dateline change
#
# DST
# Year End Time Start Time
# 2011 - - - - - - 24 September 3:00am to 4:00am
# 2012 01 April 4:00am to 3:00am - - - - - -
#
# Dateline Change skip Friday 30th Dec 2011
# Thursday 29th December 2011 23:59:59 Hours
# Saturday 31st December 2011 00:00:00 Hours
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 2010 Sep 26 -11:00 - WST 2010 Sep 26
-11:00 1:00 WSDT 2011 Apr 2 4:00 -11:00 1:00 WSDT 2011 Apr 2 4:00
-11:00 - WST -11:00 - WST 2011 Sep 24 3:00
-11:00 1:00 WSDT 2011 Dec 30
13:00 1:00 WSDT 2012 Apr 1 4:00
13:00 - WST
# Solomon Is # Solomon Is
# excludes Bougainville, for which see Papua New Guinea # excludes Bougainville, for which see Papua New Guinea
...@@ -1228,7 +1290,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 ...@@ -1228,7 +1290,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# Lord Howe Island Board (controlling authority for the Island) is # Lord Howe Island Board (controlling authority for the Island) is
# seeking the community's views on various options for summer time # seeking the community's views on various options for summer time
# arrangements on the Island, e.g. advance clocks by 1 full hour # arrangements on the Island, e.g. advance clocks by 1 full hour
# instead of only 30 minutes. Dependant on the wishes of residents # instead of only 30 minutes. [Dependent] on the wishes of residents
# the Board may approach the NSW government to change the existing # the Board may approach the NSW government to change the existing
# arrangements. The starting date for summer time on the Island will # arrangements. The starting date for summer time on the Island will
# however always coincide with the rest of NSW. # however always coincide with the rest of NSW.
...@@ -1354,7 +1416,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901 ...@@ -1354,7 +1416,7 @@ Zone Pacific/Wallis 12:15:20 - LMT 1901
# From Paul Eggert (1996-01-22): # From Paul Eggert (1996-01-22):
# Today's _Wall Street Journal_ (page 1) reports that Kiribati # Today's _Wall Street Journal_ (page 1) reports that Kiribati
# ``declared it the same day throught the country as of Jan. 1, 1995'' # ``declared it the same day [throughout] the country as of Jan. 1, 1995''
# as part of the competition to be first into the 21st century. # as part of the competition to be first into the 21st century.
......
...@@ -587,6 +587,26 @@ Rule Russia 1993 max - Mar lastSun 2:00s 1:00 S ...@@ -587,6 +587,26 @@ Rule Russia 1993 max - Mar lastSun 2:00s 1:00 S
Rule Russia 1993 1995 - Sep lastSun 2:00s 0 - Rule Russia 1993 1995 - Sep lastSun 2:00s 0 -
Rule Russia 1996 max - Oct lastSun 2:00s 0 - Rule Russia 1996 max - Oct lastSun 2:00s 0 -
# From Alexander Krivenyshev (2011-06-14):
# According to Kremlin press service, Russian President Dmitry Medvedev
# signed a federal law "On calculation of time" on June 9, 2011.
# According to the law Russia is abolishing daylight saving time.
#
# Medvedev signed a law "On the Calculation of Time" (in russian):
# <a href="http://bmockbe.ru/events/?ID=7583">
# http://bmockbe.ru/events/?ID=7583
# </a>
#
# Medvedev signed a law on the calculation of the time (in russian):
# <a href="http://www.regnum.ru/news/polit/1413906.html">
# http://www.regnum.ru/news/polit/1413906.html
# </a>
# From Arthur David Olson (2011-06-15):
# Take "abolishing daylight saving time" to mean that time is now considered
# to be standard.
# At least for now, keep the "old" Russia rules for the benefit of Belarus.
# These are for backward compatibility with older versions. # These are for backward compatibility with older versions.
# Zone NAME GMTOFF RULES FORMAT [UNTIL] # Zone NAME GMTOFF RULES FORMAT [UNTIL]
...@@ -2035,7 +2055,8 @@ Zone Europe/Kaliningrad 1:22:00 - LMT 1893 Apr ...@@ -2035,7 +2055,8 @@ Zone Europe/Kaliningrad 1:22:00 - LMT 1893 Apr
1:00 C-Eur CE%sT 1945 1:00 C-Eur CE%sT 1945
2:00 Poland CE%sT 1946 2:00 Poland CE%sT 1946
3:00 Russia MSK/MSD 1991 Mar 31 2:00s 3:00 Russia MSK/MSD 1991 Mar 31 2:00s
2:00 Russia EE%sT 2:00 Russia EE%sT 2011 Mar 27 2:00s
3:00 - KALT
# #
# From Oscar van Vlijmen (2001-08-25): [This region consists of] # From Oscar van Vlijmen (2001-08-25): [This region consists of]
# Respublika Adygeya, Arkhangel'skaya oblast', # Respublika Adygeya, Arkhangel'skaya oblast',
...@@ -2064,7 +2085,8 @@ Zone Europe/Moscow 2:30:20 - LMT 1880 ...@@ -2064,7 +2085,8 @@ Zone Europe/Moscow 2:30:20 - LMT 1880
2:00 - EET 1930 Jun 21 2:00 - EET 1930 Jun 21
3:00 Russia MSK/MSD 1991 Mar 31 2:00s 3:00 Russia MSK/MSD 1991 Mar 31 2:00s
2:00 Russia EE%sT 1992 Jan 19 2:00s 2:00 Russia EE%sT 1992 Jan 19 2:00s
3:00 Russia MSK/MSD 3:00 Russia MSK/MSD 2011 Mar 27 2:00s
4:00 - MSK
# #
# Astrakhanskaya oblast', Kirovskaya oblast', Saratovskaya oblast', # Astrakhanskaya oblast', Kirovskaya oblast', Saratovskaya oblast',
# Volgogradskaya oblast'. Shanks & Pottenger say Kirov is still at +0400 # Volgogradskaya oblast'. Shanks & Pottenger say Kirov is still at +0400
...@@ -2077,7 +2099,8 @@ Zone Europe/Volgograd 2:57:40 - LMT 1920 Jan 3 ...@@ -2077,7 +2099,8 @@ Zone Europe/Volgograd 2:57:40 - LMT 1920 Jan 3
4:00 Russia VOL%sT 1989 Mar 26 2:00s # Volgograd T 4:00 Russia VOL%sT 1989 Mar 26 2:00s # Volgograd T
3:00 Russia VOL%sT 1991 Mar 31 2:00s 3:00 Russia VOL%sT 1991 Mar 31 2:00s
4:00 - VOLT 1992 Mar 29 2:00s 4:00 - VOLT 1992 Mar 29 2:00s
3:00 Russia VOL%sT 3:00 Russia VOL%sT 2011 Mar 27 2:00s
4:00 - VOLT
# #
# From Oscar van Vlijmen (2001-08-25): [This region consists of] # From Oscar van Vlijmen (2001-08-25): [This region consists of]
# Samarskaya oblast', Udmyrtskaya respublika # Samarskaya oblast', Udmyrtskaya respublika
...@@ -2089,7 +2112,8 @@ Zone Europe/Samara 3:20:36 - LMT 1919 Jul 1 2:00 ...@@ -2089,7 +2112,8 @@ Zone Europe/Samara 3:20:36 - LMT 1919 Jul 1 2:00
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 2010 Mar 28 2:00s # Samara Time 4:00 Russia SAM%sT 2010 Mar 28 2:00s # Samara Time
3:00 Russia SAM%sT 3:00 Russia SAM%sT 2011 Mar 27 2:00s
4:00 - SAMT
# #
# From Oscar van Vlijmen (2001-08-25): [This region consists of] # From Oscar van Vlijmen (2001-08-25): [This region consists of]
...@@ -2102,7 +2126,8 @@ Zone Asia/Yekaterinburg 4:02:24 - LMT 1919 Jul 15 4:00 ...@@ -2102,7 +2126,8 @@ Zone Asia/Yekaterinburg 4:02:24 - LMT 1919 Jul 15 4:00
4:00 - SVET 1930 Jun 21 # Sverdlovsk Time 4:00 - SVET 1930 Jun 21 # Sverdlovsk Time
5:00 Russia SVE%sT 1991 Mar 31 2:00s 5:00 Russia SVE%sT 1991 Mar 31 2:00s
4:00 Russia SVE%sT 1992 Jan 19 2:00s 4:00 Russia SVE%sT 1992 Jan 19 2:00s
5:00 Russia YEK%sT # Yekaterinburg Time 5:00 Russia YEK%sT 2011 Mar 27 2:00s
6:00 - YEKT # Yekaterinburg Time
# #
# From Oscar van Vlijmen (2001-08-25): [This region consists of] # From Oscar van Vlijmen (2001-08-25): [This region consists of]
# Respublika Altaj, Altajskij kraj, Omskaya oblast'. # Respublika Altaj, Altajskij kraj, Omskaya oblast'.
...@@ -2110,7 +2135,8 @@ Zone Asia/Omsk 4:53:36 - LMT 1919 Nov 14 ...@@ -2110,7 +2135,8 @@ Zone Asia/Omsk 4:53:36 - LMT 1919 Nov 14
5:00 - OMST 1930 Jun 21 # Omsk TIme 5:00 - OMST 1930 Jun 21 # Omsk TIme
6:00 Russia OMS%sT 1991 Mar 31 2:00s 6:00 Russia OMS%sT 1991 Mar 31 2:00s
5:00 Russia OMS%sT 1992 Jan 19 2:00s 5:00 Russia OMS%sT 1992 Jan 19 2:00s
6:00 Russia OMS%sT 6:00 Russia OMS%sT 2011 Mar 27 2:00s
7:00 - OMST
# #
# From Paul Eggert (2006-08-19): I'm guessing about Tomsk here; it's # From Paul Eggert (2006-08-19): I'm guessing about Tomsk here; it's
# not clear when it switched from +7 to +6. # not clear when it switched from +7 to +6.
...@@ -2120,7 +2146,8 @@ Zone Asia/Novosibirsk 5:31:40 - LMT 1919 Dec 14 6:00 ...@@ -2120,7 +2146,8 @@ Zone Asia/Novosibirsk 5:31:40 - LMT 1919 Dec 14 6:00
7:00 Russia NOV%sT 1991 Mar 31 2:00s 7:00 Russia NOV%sT 1991 Mar 31 2:00s
6:00 Russia NOV%sT 1992 Jan 19 2:00s 6:00 Russia NOV%sT 1992 Jan 19 2:00s
7:00 Russia NOV%sT 1993 May 23 # say Shanks & P. 7:00 Russia NOV%sT 1993 May 23 # say Shanks & P.
6:00 Russia NOV%sT 6:00 Russia NOV%sT 2011 Mar 27 2:00s
7:00 - NOVT
# From Alexander Krivenyshev (2009-10-13): # From Alexander Krivenyshev (2009-10-13):
# Kemerovo oblast' (Kemerovo region) in Russia will change current time zone on # Kemerovo oblast' (Kemerovo region) in Russia will change current time zone on
...@@ -2153,7 +2180,8 @@ Zone Asia/Novokuznetsk 5:48:48 - NMT 1920 Jan 6 ...@@ -2153,7 +2180,8 @@ Zone Asia/Novokuznetsk 5:48:48 - NMT 1920 Jan 6
7:00 Russia KRA%sT 1991 Mar 31 2:00s 7:00 Russia KRA%sT 1991 Mar 31 2:00s
6:00 Russia KRA%sT 1992 Jan 19 2:00s 6:00 Russia KRA%sT 1992 Jan 19 2:00s
7:00 Russia KRA%sT 2010 Mar 28 2:00s 7:00 Russia KRA%sT 2010 Mar 28 2:00s
6:00 Russia NOV%sT # Novosibirsk/Novokuznetsk Time 6:00 Russia NOV%sT 2011 Mar 27 2:00s
7:00 - NOVT # Novosibirsk/Novokuznetsk Time
# #
# From Oscar van Vlijmen (2001-08-25): [This region consists of] # From Oscar van Vlijmen (2001-08-25): [This region consists of]
...@@ -2164,7 +2192,8 @@ Zone Asia/Krasnoyarsk 6:11:20 - LMT 1920 Jan 6 ...@@ -2164,7 +2192,8 @@ Zone Asia/Krasnoyarsk 6:11:20 - LMT 1920 Jan 6
6:00 - KRAT 1930 Jun 21 # Krasnoyarsk Time 6:00 - KRAT 1930 Jun 21 # Krasnoyarsk Time
7:00 Russia KRA%sT 1991 Mar 31 2:00s 7:00 Russia KRA%sT 1991 Mar 31 2:00s
6:00 Russia KRA%sT 1992 Jan 19 2:00s 6:00 Russia KRA%sT 1992 Jan 19 2:00s
7:00 Russia KRA%sT 7:00 Russia KRA%sT 2011 Mar 27 2:00s
8:00 - KRAT
# #
# From Oscar van Vlijmen (2001-08-25): [This region consists of] # From Oscar van Vlijmen (2001-08-25): [This region consists of]
# Respublika Buryatiya, Irkutskaya oblast', # Respublika Buryatiya, Irkutskaya oblast',
...@@ -2174,7 +2203,8 @@ Zone Asia/Irkutsk 6:57:20 - LMT 1880 ...@@ -2174,7 +2203,8 @@ Zone Asia/Irkutsk 6:57:20 - LMT 1880
7:00 - IRKT 1930 Jun 21 # Irkutsk Time 7:00 - IRKT 1930 Jun 21 # Irkutsk Time
8:00 Russia IRK%sT 1991 Mar 31 2:00s 8:00 Russia IRK%sT 1991 Mar 31 2:00s
7:00 Russia IRK%sT 1992 Jan 19 2:00s 7:00 Russia IRK%sT 1992 Jan 19 2:00s
8:00 Russia IRK%sT 8:00 Russia IRK%sT 2011 Mar 27 2:00s
9:00 - IRKT
# #
# From Oscar van Vlijmen (2003-10-18): [This region consists of] # From Oscar van Vlijmen (2003-10-18): [This region consists of]
# Aginskij Buryatskij avtonomnyj okrug, Amurskaya oblast', # Aginskij Buryatskij avtonomnyj okrug, Amurskaya oblast',
...@@ -2197,7 +2227,8 @@ Zone Asia/Yakutsk 8:38:40 - LMT 1919 Dec 15 ...@@ -2197,7 +2227,8 @@ Zone Asia/Yakutsk 8:38:40 - LMT 1919 Dec 15
8:00 - YAKT 1930 Jun 21 # Yakutsk Time 8:00 - YAKT 1930 Jun 21 # Yakutsk Time
9:00 Russia YAK%sT 1991 Mar 31 2:00s 9:00 Russia YAK%sT 1991 Mar 31 2:00s
8:00 Russia YAK%sT 1992 Jan 19 2:00s 8:00 Russia YAK%sT 1992 Jan 19 2:00s
9:00 Russia YAK%sT 9:00 Russia YAK%sT 2011 Mar 27 2:00s
10:00 - YAKT
# #
# From Oscar van Vlijmen (2003-10-18): [This region consists of] # From Oscar van Vlijmen (2003-10-18): [This region consists of]
# Evrejskaya avtonomnaya oblast', Khabarovskij kraj, Primorskij kraj, # Evrejskaya avtonomnaya oblast', Khabarovskij kraj, Primorskij kraj,
...@@ -2210,7 +2241,8 @@ Zone Asia/Vladivostok 8:47:44 - LMT 1922 Nov 15 ...@@ -2210,7 +2241,8 @@ Zone Asia/Vladivostok 8:47:44 - LMT 1922 Nov 15
9:00 - VLAT 1930 Jun 21 # Vladivostok Time 9:00 - VLAT 1930 Jun 21 # Vladivostok Time
10:00 Russia VLA%sT 1991 Mar 31 2:00s 10:00 Russia VLA%sT 1991 Mar 31 2:00s
9:00 Russia VLA%sST 1992 Jan 19 2:00s 9:00 Russia VLA%sST 1992 Jan 19 2:00s
10:00 Russia VLA%sT 10:00 Russia VLA%sT 2011 Mar 27 2:00s
11:00 - VLAT
# #
# Sakhalinskaya oblast'. # Sakhalinskaya oblast'.
# The Zone name should be Yuzhno-Sakhalinsk, but that's too long. # The Zone name should be Yuzhno-Sakhalinsk, but that's too long.
...@@ -2220,7 +2252,8 @@ Zone Asia/Sakhalin 9:30:48 - LMT 1905 Aug 23 ...@@ -2220,7 +2252,8 @@ Zone Asia/Sakhalin 9:30:48 - LMT 1905 Aug 23
11:00 Russia SAK%sT 1991 Mar 31 2:00s # Sakhalin T. 11:00 Russia SAK%sT 1991 Mar 31 2:00s # Sakhalin T.
10:00 Russia SAK%sT 1992 Jan 19 2:00s 10:00 Russia SAK%sT 1992 Jan 19 2:00s
11:00 Russia SAK%sT 1997 Mar lastSun 2:00s 11:00 Russia SAK%sT 1997 Mar lastSun 2:00s
10:00 Russia SAK%sT 10:00 Russia SAK%sT 2011 Mar 27 2:00s
11:00 - SAKT
# #
# From Oscar van Vlijmen (2003-10-18): [This region consists of] # From Oscar van Vlijmen (2003-10-18): [This region consists of]
# Magadanskaya oblast', Respublika Sakha (Yakutiya). # Magadanskaya oblast', Respublika Sakha (Yakutiya).
...@@ -2233,7 +2266,8 @@ Zone Asia/Magadan 10:03:12 - LMT 1924 May 2 ...@@ -2233,7 +2266,8 @@ Zone Asia/Magadan 10:03:12 - LMT 1924 May 2
10:00 - MAGT 1930 Jun 21 # Magadan Time 10:00 - MAGT 1930 Jun 21 # Magadan Time
11:00 Russia MAG%sT 1991 Mar 31 2:00s 11:00 Russia MAG%sT 1991 Mar 31 2:00s
10:00 Russia MAG%sT 1992 Jan 19 2:00s 10:00 Russia MAG%sT 1992 Jan 19 2:00s
11:00 Russia MAG%sT 11:00 Russia MAG%sT 2011 Mar 27 2:00s
12:00 - MAGT
# #
# From Oscar van Vlijmen (2001-08-25): [This region consists of] # From Oscar van Vlijmen (2001-08-25): [This region consists of]
# Kamchatskaya oblast', Koryakskij avtonomnyj okrug. # Kamchatskaya oblast', Koryakskij avtonomnyj okrug.
...@@ -2244,7 +2278,8 @@ Zone Asia/Kamchatka 10:34:36 - LMT 1922 Nov 10 ...@@ -2244,7 +2278,8 @@ Zone Asia/Kamchatka 10:34:36 - LMT 1922 Nov 10
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 2010 Mar 28 2:00s 12:00 Russia PET%sT 2010 Mar 28 2:00s
11:00 Russia PET%sT 11:00 Russia PET%sT 2011 Mar 27 2:00s
12:00 - PETT
# #
# 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
...@@ -2253,7 +2288,8 @@ Zone Asia/Anadyr 11:49:56 - LMT 1924 May 2 ...@@ -2253,7 +2288,8 @@ Zone Asia/Anadyr 11:49:56 - LMT 1924 May 2
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 2010 Mar 28 2:00s 12:00 Russia ANA%sT 2010 Mar 28 2:00s
11:00 Russia ANA%sT 11:00 Russia ANA%sT 2011 Mar 27 2:00s
12:00 - ANAT
# Serbia # Serbia
# Zone NAME GMTOFF RULES FORMAT [UNTIL] # Zone NAME GMTOFF RULES FORMAT [UNTIL]
......
...@@ -43,6 +43,9 @@ ...@@ -43,6 +43,9 @@
# #
# Lines beginning with `#' are comments. # Lines beginning with `#' are comments.
# #
# From Arthur David Olson (2011-08-17):
# Resynchronized today with the ISO 3166 site (adding SS for South Sudan).
#
#country- #country-
#code country name #code country name
AD Andorra AD Andorra
...@@ -52,7 +55,6 @@ AG Antigua & Barbuda ...@@ -52,7 +55,6 @@ AG Antigua & Barbuda
AI Anguilla AI Anguilla
AL Albania AL Albania
AM Armenia AM Armenia
AN Netherlands Antilles
AO Angola AO Angola
AQ Antarctica AQ Antarctica
AR Argentina AR Argentina
...@@ -75,6 +77,7 @@ BL St Barthelemy ...@@ -75,6 +77,7 @@ BL St Barthelemy
BM Bermuda BM Bermuda
BN Brunei BN Brunei
BO Bolivia BO Bolivia
BQ Bonaire Sint Eustatius & Saba
BR Brazil BR Brazil
BS Bahamas BS Bahamas
BT Bhutan BT Bhutan
...@@ -97,6 +100,7 @@ CO Colombia ...@@ -97,6 +100,7 @@ CO Colombia
CR Costa Rica CR Costa Rica
CU Cuba CU Cuba
CV Cape Verde CV Cape Verde
CW Curacao
CX Christmas Island CX Christmas Island
CY Cyprus CY Cyprus
CZ Czech Republic CZ Czech Republic
...@@ -251,8 +255,10 @@ SM San Marino ...@@ -251,8 +255,10 @@ SM San Marino
SN Senegal SN Senegal
SO Somalia SO Somalia
SR Suriname SR Suriname
SS South Sudan
ST Sao Tome & Principe ST Sao Tome & Principe
SV El Salvador SV El Salvador
SX Sint Maarten
SY Syria SY Syria
SZ Swaziland SZ Swaziland
TC Turks & Caicos Is TC Turks & Caicos Is
......
...@@ -490,6 +490,10 @@ Zone America/Los_Angeles -7:52:58 - LMT 1883 Nov 18 12:07:02 ...@@ -490,6 +490,10 @@ Zone America/Los_Angeles -7:52:58 - LMT 1883 Nov 18 12:07:02
# own time. I asked about daylight saving; they said it wasn't used. I # own time. I asked about daylight saving; they said it wasn't used. I
# did not inquire about practices in the past. # did not inquire about practices in the past.
# From Arthur David Olson (2011-08-17):
# For lack of better information, assume that Metlakatla's
# abandonment of use of daylight saving resulted from the 1983 vote.
# Zone NAME GMTOFF RULES FORMAT [UNTIL] # Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone America/Juneau 15:02:19 - LMT 1867 Oct 18 Zone America/Juneau 15:02:19 - LMT 1867 Oct 18
-8:57:41 - LMT 1900 Aug 20 12:00 -8:57:41 - LMT 1900 Aug 20 12:00
...@@ -515,7 +519,7 @@ Zone America/Metlakatla 15:13:42 - LMT 1867 Oct 18 ...@@ -515,7 +519,7 @@ Zone America/Metlakatla 15:13:42 - LMT 1867 Oct 18
-8:00 US P%sT 1946 -8:00 US P%sT 1946
-8:00 - PST 1969 -8:00 - PST 1969
-8:00 US P%sT 1983 Oct 30 2:00 -8:00 US P%sT 1983 Oct 30 2:00
-8:00 US MeST -8:00 - MeST
Zone America/Yakutat 14:41:05 - LMT 1867 Oct 18 Zone America/Yakutat 14:41:05 - LMT 1867 Oct 18
-9:18:55 - LMT 1900 Aug 20 12:00 -9:18:55 - LMT 1900 Aug 20 12:00
-9:00 - YST 1942 -9:00 - YST 1942
...@@ -615,8 +619,8 @@ Zone Pacific/Honolulu -10:31:26 - LMT 1896 Jan 13 12:00 #Schmitt&Cox ...@@ -615,8 +619,8 @@ Zone Pacific/Honolulu -10:31:26 - LMT 1896 Jan 13 12:00 #Schmitt&Cox
-10:30 - HST 1933 Apr 30 2:00 #Laws 1933 -10:30 - HST 1933 Apr 30 2:00 #Laws 1933
-10:30 1:00 HDT 1933 May 21 12:00 #Laws 1933+12 -10:30 1:00 HDT 1933 May 21 12:00 #Laws 1933+12
-10:30 - HST 1942 Feb 09 2:00 #Schmitt&Cox+2 -10:30 - HST 1942 Feb 09 2:00 #Schmitt&Cox+2
-10:30 1:00 HDT 1945 Sep 30 2:00 #Schmitt&Fox+2 -10:30 1:00 HDT 1945 Sep 30 2:00 #Schmitt&Cox+2
-10:30 US H%sT 1947 Jun 8 2:00 #Schmitt&Fox+2 -10:30 - HST 1947 Jun 8 2:00 #Schmitt&Cox+2
-10:00 - HST -10:00 - HST
# Now we turn to US areas that have diverged from the consensus since 1970. # Now we turn to US areas that have diverged from the consensus since 1970.
...@@ -1185,12 +1189,39 @@ Rule StJohns 1960 1986 - Oct lastSun 2:00 0 S ...@@ -1185,12 +1189,39 @@ Rule StJohns 1960 1986 - Oct lastSun 2:00 0 S
# From Paul Eggert (2000-10-02): # From Paul Eggert (2000-10-02):
# INMS (2000-09-12) says that, since 1988 at least, Newfoundland switches # INMS (2000-09-12) says that, since 1988 at least, Newfoundland switches
# at 00:01 local time. For now, assume it started in 1987. # at 00:01 local time. For now, assume it started in 1987.
# From Michael Pelley (2011-08-05):
# The Government of Newfoundland and Labrador has pending changes to
# modify the hour for daylight savings time to come into effect in
# November 2011. This modification would change the time from 12:01AM to
# 2:00AM on the dates of the switches of Daylight Savings Time to/from
# Standard Time.
#
# As a matter of reference, in Canada provinces have the authority of
# setting time zone information. The legislation has passed our
# legislative body (The House of Assembly) and is awaiting the
# proclamation to come into effect. You may find this information at:
# <a href="http://www.assembly.nl.ca/legislation/sr/lists/Proclamation.htm">
# http://www.assembly.nl.ca/legislation/sr/lists/Proclamation.htm
# </a>
# and
# search within that web page for Standard Time (Amendment) Act. The Act
# may be found at:
# <a href="http://www.assembly.nl.ca/business/bills/Bill1106.htm">
# http://www.assembly.nl.ca/business/bills/Bill1106.htm
# </a>
# ...
# MICHAEL PELLEY | Manager of Enterprise Architecture - Solution Delivery
# Office of the Chief Information Officer Executive Council Government of
# Newfoundland & Labrador P.O. Box 8700, 40 Higgins Line, St. John's NL
# A1B 4J6
Rule StJohns 1987 only - Apr Sun>=1 0:01 1:00 D Rule StJohns 1987 only - Apr Sun>=1 0:01 1:00 D
Rule StJohns 1987 2006 - Oct lastSun 0:01 0 S Rule StJohns 1987 2006 - Oct lastSun 0:01 0 S
Rule StJohns 1988 only - Apr Sun>=1 0:01 2:00 DD Rule StJohns 1988 only - Apr Sun>=1 0:01 2:00 DD
Rule StJohns 1989 2006 - Apr Sun>=1 0:01 1:00 D Rule StJohns 1989 2006 - Apr Sun>=1 0:01 1:00 D
Rule StJohns 2007 max - Mar Sun>=8 0:01 1:00 D Rule StJohns 2007 2011 - Mar Sun>=8 0:01 1:00 D
Rule StJohns 2007 max - Nov Sun>=1 0:01 0 S Rule StJohns 2007 2010 - Nov Sun>=1 0:01 0 S
# #
# St John's has an apostrophe, but Posix file names can't have apostrophes. # St John's has an apostrophe, but Posix file names can't have apostrophes.
# Zone NAME GMTOFF RULES FORMAT [UNTIL] # Zone NAME GMTOFF RULES FORMAT [UNTIL]
...@@ -1200,7 +1231,8 @@ Zone America/St_Johns -3:30:52 - LMT 1884 ...@@ -1200,7 +1231,8 @@ Zone America/St_Johns -3:30:52 - LMT 1884
-3:30:52 StJohns N%sT 1935 Mar 30 -3:30:52 StJohns N%sT 1935 Mar 30
-3:30 StJohns N%sT 1942 May 11 -3:30 StJohns N%sT 1942 May 11
-3:30 Canada N%sT 1946 -3:30 Canada N%sT 1946
-3:30 StJohns N%sT -3:30 StJohns N%sT 2011 Nov
-3:30 Canada N%sT
# most of east Labrador # most of east Labrador
...@@ -1214,7 +1246,8 @@ Zone America/Goose_Bay -4:01:40 - LMT 1884 # Happy Valley-Goose Bay ...@@ -1214,7 +1246,8 @@ Zone America/Goose_Bay -4:01:40 - LMT 1884 # Happy Valley-Goose Bay
-3:30 StJohns N%sT 1942 May 11 -3:30 StJohns N%sT 1942 May 11
-3:30 Canada N%sT 1946 -3:30 Canada N%sT 1946
-3:30 StJohns N%sT 1966 Mar 15 2:00 -3:30 StJohns N%sT 1966 Mar 15 2:00
-4:00 StJohns A%sT -4:00 StJohns A%sT 2011 Nov
-4:00 Canada A%sT
# west Labrador, Nova Scotia, Prince Edward I # west Labrador, Nova Scotia, Prince Edward I
...@@ -1946,20 +1979,69 @@ Zone America/Dawson_Creek -8:00:56 - LMT 1884 ...@@ -1946,20 +1979,69 @@ Zone America/Dawson_Creek -8:00:56 - LMT 1884
# daylight saving.... # daylight saving....
# http://www.nnsl.com/frames/newspapers/2006-11/nov13_06none.html # http://www.nnsl.com/frames/newspapers/2006-11/nov13_06none.html
# From Chris Walton (2007-03-14): # From Chris Walton (2011-03-21):
# Today I phoned the "hamlet office" to find out what Resolute was doing with # Back in 2007 I initiated the creation of a new "zone file" for Resolute
# its clocks. # Bay. Resolute Bay is a small community located about 900km north of
# the Arctic Circle. The zone file was required because Resolute Bay had
# decided to use UTC-5 instead of UTC-6 for the winter of 2006-2007.
#
# According to new information which I received last week, Resolute Bay
# went back to using UTC-6 in the winter of 2007-2008...
#
# On March 11/2007 most of Canada went onto daylight saving. On March
# 14/2007 I phoned the Resolute Bay hamlet office to do a "time check." I
# talked to somebody that was both knowledgeable and helpful. I was able
# to confirm that Resolute Bay was still operating on UTC-5. It was
# explained to me that Resolute Bay had been on the Eastern Time zone
# (EST) in the winter, and was now back on the Central Time zone (CDT).
# i.e. the time zone had changed twice in the last year but the clocks
# had not moved. The residents had to know which time zone they were in
# so they could follow the correct TV schedule...
#
# On Nov 02/2008 most of Canada went onto standard time. On Nov 03/2008 I
# phoned the Resolute Bay hamlet office...[D]ue to the challenging nature
# of the phone call, I decided to seek out an alternate source of
# information. I found an e-mail address for somebody by the name of
# Stephanie Adams whose job was listed as "Inns North Support Officer for
# Arctic Co-operatives." I was under the impression that Stephanie lived
# and worked in Resolute Bay...
#
# On March 14/2011 I phoned the hamlet office again. I was told that
# Resolute Bay had been using Central Standard Time over the winter of
# 2010-2011 and that the clocks had therefore been moved one hour ahead
# on March 13/2011. The person I talked to was aware that Resolute Bay
# had previously experimented with Eastern Standard Time but he could not
# tell me when the practice had stopped.
#
# On March 17/2011 I searched the Web to find an e-mail address of
# somebody that might be able to tell me exactly when Resolute Bay went
# off Eastern Standard Time. I stumbled on the name "Aziz Kheraj." Aziz
# used to be the mayor of Resolute Bay and he apparently owns half the
# businesses including "South Camp Inn." This website has some info on
# Aziz:
# <a href="http://www.uphere.ca/node/493">
# http://www.uphere.ca/node/493
# </a>
# #
# The individual that answered the phone confirmed that the clocks did not # I sent Aziz an e-mail asking when Resolute Bay had stopped using
# move at the end of daylight saving on October 29/2006. He also told me that # Eastern Standard Time.
# the clocks did not move this past weekend (March 11/2007).... #
# Aziz responded quickly with this: "hi, The time was not changed for the
# From Chris Walton (2008-11-13): # 1 year only, the following year, the community went back to the old way
# ...the residents of Resolute believe that they are changing "time zones" # of "spring ahead-fall behind" currently we are zulu plus 5 hrs and in
# twice a year. In winter months, local time is qualified with "Eastern # the winter Zulu plus 6 hrs"
# Time" which is really "Eastern Standard Time (UTC-5)". In summer #
# months, local time is qualified with "Central Time" which is really # This of course conflicted with everything I had ascertained in November 2008.
# "Central Daylight Time (UTC-5)"... #
# I sent Aziz a copy of my 2008 e-mail exchange with Stephanie. Aziz
# responded with this: "Hi, Stephanie lives in Winnipeg. I live here, You
# may want to check with the weather office in Resolute Bay or do a
# search on the weather through Env. Canada. web site"
#
# If I had realized the Stephanie did not live in Resolute Bay I would
# never have contacted her. I now believe that all the information I
# obtained in November 2008 should be ignored...
# I apologize for reporting incorrect information in 2008.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule NT_YK 1918 only - Apr 14 2:00 1:00 D Rule NT_YK 1918 only - Apr 14 2:00 1:00 D
...@@ -1987,14 +2069,12 @@ Zone America/Iqaluit 0 - zzz 1942 Aug # Frobisher Bay est. ...@@ -1987,14 +2069,12 @@ Zone America/Iqaluit 0 - zzz 1942 Aug # Frobisher Bay est.
-6:00 Canada C%sT 2000 Oct 29 2:00 -6:00 Canada C%sT 2000 Oct 29 2:00
-5:00 Canada E%sT -5:00 Canada E%sT
# aka Qausuittuq # aka Qausuittuq
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Resolute 2006 max - Nov Sun>=1 2:00 0 ES
Rule Resolute 2007 max - Mar Sun>=8 2:00 0 CD
Zone America/Resolute 0 - zzz 1947 Aug 31 # Resolute founded Zone America/Resolute 0 - zzz 1947 Aug 31 # Resolute founded
-6:00 NT_YK C%sT 2000 Oct 29 2:00 -6:00 NT_YK C%sT 2000 Oct 29 2:00
-5:00 - EST 2001 Apr 1 3:00 -5:00 - EST 2001 Apr 1 3:00
-6:00 Canada C%sT 2006 Oct 29 2:00 -6:00 Canada C%sT 2006 Oct 29 2:00
-5:00 Resolute %sT -5:00 - EST 2007 Mar 11 3:00
-6:00 Canada C%sT
# aka Kangiqiniq # aka Kangiqiniq
Zone America/Rankin_Inlet 0 - zzz 1957 # Rankin Inlet founded Zone America/Rankin_Inlet 0 - zzz 1957 # Rankin Inlet founded
-6:00 NT_YK C%sT 2000 Oct 29 2:00 -6:00 NT_YK C%sT 2000 Oct 29 2:00
......
...@@ -1298,6 +1298,14 @@ Zone America/Curacao -4:35:44 - LMT 1912 Feb 12 # Willemstad ...@@ -1298,6 +1298,14 @@ Zone America/Curacao -4:35:44 - LMT 1912 Feb 12 # Willemstad
-4:30 - ANT 1965 # Netherlands Antilles Time -4:30 - ANT 1965 # Netherlands Antilles Time
-4:00 - AST -4:00 - AST
# From Arthur David Olson (2011-06-15):
# At least for now, use links for places with new iso3166 codes.
# The name "Lower Prince's Quarter" is both longer than fourteen charaters
# and contains an apostrophe; use "Lower_Princes" below.
Link America/Curacao America/Lower_Princes # Sint Maarten
Link America/Curacao America/Kralendijk # Bonaire, Sint Estatius and Saba
# Ecuador # Ecuador
# #
# From Paul Eggert (2007-03-04): # From Paul Eggert (2007-03-04):
......
...@@ -54,7 +54,6 @@ AG +1703-06148 America/Antigua ...@@ -54,7 +54,6 @@ AG +1703-06148 America/Antigua
AI +1812-06304 America/Anguilla AI +1812-06304 America/Anguilla
AL +4120+01950 Europe/Tirane AL +4120+01950 Europe/Tirane
AM +4011+04430 Asia/Yerevan AM +4011+04430 Asia/Yerevan
AN +1211-06900 America/Curacao
AO -0848+01314 Africa/Luanda AO -0848+01314 Africa/Luanda
AQ -7750+16636 Antarctica/McMurdo McMurdo Station, Ross Island AQ -7750+16636 Antarctica/McMurdo McMurdo Station, Ross Island
AQ -9000+00000 Antarctica/South_Pole Amundsen-Scott Station, South Pole AQ -9000+00000 Antarctica/South_Pole Amundsen-Scott Station, South Pole
...@@ -109,6 +108,7 @@ BL +1753-06251 America/St_Barthelemy ...@@ -109,6 +108,7 @@ BL +1753-06251 America/St_Barthelemy
BM +3217-06446 Atlantic/Bermuda BM +3217-06446 Atlantic/Bermuda
BN +0456+11455 Asia/Brunei BN +0456+11455 Asia/Brunei
BO -1630-06809 America/La_Paz BO -1630-06809 America/La_Paz
BQ +120903-0681636 America/Kralendijk
BR -0351-03225 America/Noronha Atlantic islands BR -0351-03225 America/Noronha Atlantic islands
BR -0127-04829 America/Belem Amapa, E Para BR -0127-04829 America/Belem Amapa, E Para
BR -0343-03830 America/Fortaleza NE Brazil (MA, PI, CE, RN, PB) BR -0343-03830 America/Fortaleza NE Brazil (MA, PI, CE, RN, PB)
...@@ -142,7 +142,7 @@ CA +4901-08816 America/Nipigon Eastern Time - Ontario & Quebec - places that did ...@@ -142,7 +142,7 @@ CA +4901-08816 America/Nipigon Eastern Time - Ontario & Quebec - places that did
CA +4823-08915 America/Thunder_Bay Eastern Time - Thunder Bay, Ontario CA +4823-08915 America/Thunder_Bay Eastern Time - Thunder Bay, Ontario
CA +6344-06828 America/Iqaluit Eastern Time - east Nunavut - most locations CA +6344-06828 America/Iqaluit Eastern Time - east Nunavut - most locations
CA +6608-06544 America/Pangnirtung Eastern Time - Pangnirtung, Nunavut CA +6608-06544 America/Pangnirtung Eastern Time - Pangnirtung, Nunavut
CA +744144-0944945 America/Resolute Eastern Standard Time - Resolute, Nunavut CA +744144-0944945 America/Resolute Central Standard Time - Resolute, Nunavut
CA +484531-0913718 America/Atikokan Eastern Standard Time - Atikokan, Ontario and Southampton I, Nunavut CA +484531-0913718 America/Atikokan Eastern Standard Time - Atikokan, Ontario and Southampton I, Nunavut
CA +624900-0920459 America/Rankin_Inlet Central Time - central Nunavut CA +624900-0920459 America/Rankin_Inlet Central Time - central Nunavut
CA +4953-09709 America/Winnipeg Central Time - Manitoba & west Ontario CA +4953-09709 America/Winnipeg Central Time - Manitoba & west Ontario
...@@ -177,6 +177,7 @@ CO +0436-07405 America/Bogota ...@@ -177,6 +177,7 @@ CO +0436-07405 America/Bogota
CR +0956-08405 America/Costa_Rica CR +0956-08405 America/Costa_Rica
CU +2308-08222 America/Havana CU +2308-08222 America/Havana
CV +1455-02331 Atlantic/Cape_Verde CV +1455-02331 Atlantic/Cape_Verde
CW +1211-06900 America/Curacao
CX -1025+10543 Indian/Christmas CX -1025+10543 Indian/Christmas
CY +3510+03322 Asia/Nicosia CY +3510+03322 Asia/Nicosia
CZ +5005+01426 Europe/Prague CZ +5005+01426 Europe/Prague
...@@ -382,8 +383,10 @@ SM +4355+01228 Europe/San_Marino ...@@ -382,8 +383,10 @@ SM +4355+01228 Europe/San_Marino
SN +1440-01726 Africa/Dakar SN +1440-01726 Africa/Dakar
SO +0204+04522 Africa/Mogadishu SO +0204+04522 Africa/Mogadishu
SR +0550-05510 America/Paramaribo SR +0550-05510 America/Paramaribo
SS +0451+03136 Africa/Juba
ST +0020+00644 Africa/Sao_Tome ST +0020+00644 Africa/Sao_Tome
SV +1342-08912 America/El_Salvador SV +1342-08912 America/El_Salvador
SX +180305-0630250 America/Lower_Princes
SY +3330+03618 Asia/Damascus SY +3330+03618 Asia/Damascus
SZ -2618+03106 Africa/Mbabane SZ -2618+03106 Africa/Mbabane
TC +2128-07108 America/Grand_Turk TC +2128-07108 America/Grand_Turk
......
#
# Copyright (c) 2011, 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.
#
BUILDDIR = ../..
PACKAGE = sun.util
PRODUCT = sun
include $(BUILDDIR)/common/Defs.gmk
#
# Files
#
AUTO_FILES_JAVA_DIRS = sun/util/xml
#
# Rules
#
include $(BUILDDIR)/common/Classes.gmk
...@@ -120,7 +120,7 @@ public class GenerateCurrencyData { ...@@ -120,7 +120,7 @@ public class GenerateCurrencyData {
private static int[] specialCaseOldCurrenciesNumericCode = new int[maxSpecialCases]; private static int[] specialCaseOldCurrenciesNumericCode = new int[maxSpecialCases];
private static int[] specialCaseNewCurrenciesNumericCode = new int[maxSpecialCases]; private static int[] specialCaseNewCurrenciesNumericCode = new int[maxSpecialCases];
private static final int maxOtherCurrencies = 65; private static final int maxOtherCurrencies = 70;
private static int otherCurrenciesCount = 0; private static int otherCurrenciesCount = 0;
private static StringBuffer otherCurrencies = new StringBuffer(); private static StringBuffer otherCurrencies = new StringBuffer();
private static int[] otherCurrenciesDefaultFractionDigits = new int[maxOtherCurrencies]; private static int[] otherCurrenciesDefaultFractionDigits = new int[maxOtherCurrencies];
......
...@@ -76,8 +76,8 @@ class Mappings { ...@@ -76,8 +76,8 @@ class Mappings {
// If the GMT offset of this Zone will change in some // If the GMT offset of this Zone will change in some
// future time, this Zone is added to the exclude list. // future time, this Zone is added to the exclude list.
boolean isExcluded = false; boolean isExcluded = false;
if (zone.size() > 1) { for (int i = 0; i < zone.size(); i++) {
ZoneRec zrec = zone.get(zone.size()-2); ZoneRec zrec = zone.get(i);
if ((zrec.getGmtOffset() != rawOffset) if ((zrec.getGmtOffset() != rawOffset)
&& (zrec.getUntilTime(0) > Time.getCurrentTime())) { && (zrec.getUntilTime(0) > Time.getCurrentTime())) {
if (excludeList == null) { if (excludeList == null) {
...@@ -85,6 +85,7 @@ class Mappings { ...@@ -85,6 +85,7 @@ class Mappings {
} }
excludeList.add(zone.getName()); excludeList.add(zone.getName());
isExcluded = true; isExcluded = true;
break;
} }
} }
......
...@@ -61,8 +61,8 @@ public class Installer { ...@@ -61,8 +61,8 @@ public class Installer {
private static RegistrationData registration; private static RegistrationData registration;
private static boolean supportRegistration; private static boolean supportRegistration;
private static String registerHtmlParent; private static String registerHtmlParent;
private static Set<Locale> supportedLocales = new HashSet<Locale>(); private static Set<Locale> supportedLocales = new HashSet<>();
private static Properties swordfishProps = null; private static Properties svcTagProps = null;
private static String[] jreArchs = null; private static String[] jreArchs = null;
static { static {
String dir = System.getProperty(SVCTAG_DIR_PATH); String dir = System.getProperty(SVCTAG_DIR_PATH);
...@@ -94,7 +94,7 @@ public class Installer { ...@@ -94,7 +94,7 @@ public class Installer {
boolean cleanup = false; boolean cleanup = false;
try { try {
// Check if we have the swordfish entries for this JRE version // Check if we have the swordfish entries for this JRE version
if (loadSwordfishEntries() == null) { if (loadServiceTagProps() == null) {
return null; return null;
} }
...@@ -144,18 +144,14 @@ public class Installer { ...@@ -144,18 +144,14 @@ public class Installer {
return registration; return registration;
} }
if (regXmlFile.exists()) { if (regXmlFile.exists()) {
BufferedInputStream in = null; try (BufferedInputStream in =
try { new BufferedInputStream(new FileInputStream(regXmlFile)))
in = new BufferedInputStream(new FileInputStream(regXmlFile)); {
registration = RegistrationData.loadFromXML(in); registration = RegistrationData.loadFromXML(in);
} catch (IllegalArgumentException ex) { } catch (IllegalArgumentException ex) {
System.err.println("Error: Bad registration data \"" + System.err.println("Error: Bad registration data \"" +
regXmlFile + "\":" + ex.getMessage()); regXmlFile + "\":" + ex.getMessage());
throw ex; throw ex;
} finally {
if (in != null) {
in.close();
}
} }
} else { } else {
registration = new RegistrationData(); registration = new RegistrationData();
...@@ -186,18 +182,14 @@ public class Installer { ...@@ -186,18 +182,14 @@ public class Installer {
deleteRegistrationHtmlPage(); deleteRegistrationHtmlPage();
getRegistrationHtmlPage(); getRegistrationHtmlPage();
BufferedOutputStream out = null; try (BufferedOutputStream out =
try { new BufferedOutputStream(new FileOutputStream(regXmlFile)))
out = new BufferedOutputStream(new FileOutputStream(regXmlFile)); {
getRegistrationData().storeToXML(out); getRegistrationData().storeToXML(out);
} catch (IllegalArgumentException ex) { } catch (IllegalArgumentException ex) {
System.err.println("Error: Bad registration data \"" + System.err.println("Error: Bad registration data \"" +
regXmlFile + "\":" + ex.getMessage()); regXmlFile + "\":" + ex.getMessage());
throw ex; throw ex;
} finally {
if (out != null) {
out.close();
}
} }
} }
...@@ -206,11 +198,9 @@ public class Installer { ...@@ -206,11 +198,9 @@ public class Installer {
* or empty set if file not exists. * or empty set if file not exists.
*/ */
private static Set<String> getInstalledURNs() throws IOException { private static Set<String> getInstalledURNs() throws IOException {
Set<String> urnSet = new HashSet<String>(); Set<String> urnSet = new HashSet<>();
if (serviceTagFile.exists()) { if (serviceTagFile.exists()) {
BufferedReader in = null; try (BufferedReader in = new BufferedReader(new FileReader(serviceTagFile))) {
try {
in = new BufferedReader(new FileReader(serviceTagFile));
String urn; String urn;
while ((urn = in.readLine()) != null) { while ((urn = in.readLine()) != null) {
urn = urn.trim(); urn = urn.trim();
...@@ -218,10 +208,6 @@ public class Installer { ...@@ -218,10 +208,6 @@ public class Installer {
urnSet.add(urn); urnSet.add(urn);
} }
} }
} finally {
if (in != null) {
in.close();
}
} }
} }
return urnSet; return urnSet;
...@@ -237,9 +223,9 @@ public class Installer { ...@@ -237,9 +223,9 @@ public class Installer {
private static ServiceTag[] getJavaServiceTagArray() throws IOException { private static ServiceTag[] getJavaServiceTagArray() throws IOException {
RegistrationData regData = getRegistrationData(); RegistrationData regData = getRegistrationData();
Set<ServiceTag> svcTags = regData.getServiceTags(); Set<ServiceTag> svcTags = regData.getServiceTags();
Set<ServiceTag> result = new HashSet<ServiceTag>(); Set<ServiceTag> result = new HashSet<>();
Properties props = loadSwordfishEntries(); Properties props = loadServiceTagProps();
String jdkUrn = props.getProperty("servicetag.jdk.urn"); String jdkUrn = props.getProperty("servicetag.jdk.urn");
String jreUrn = props.getProperty("servicetag.jre.urn"); String jreUrn = props.getProperty("servicetag.jre.urn");
for (ServiceTag st : svcTags) { for (ServiceTag st : svcTags) {
...@@ -343,8 +329,7 @@ public class Installer { ...@@ -343,8 +329,7 @@ public class Installer {
} }
private static ServiceTag newServiceTag(String svcTagSource) throws IOException { private static ServiceTag newServiceTag(String svcTagSource) throws IOException {
// Load the swoRDFish information for the service tag creation Properties props = loadServiceTagProps();
Properties props = loadSwordfishEntries();
// Determine the product URN and name // Determine the product URN and name
String productURN; String productURN;
...@@ -442,52 +427,35 @@ public class Installer { ...@@ -442,52 +427,35 @@ public class Installer {
return; return;
} }
PrintWriter out = null; try (PrintWriter out = new PrintWriter(serviceTagFile)) {
try {
out = new PrintWriter(serviceTagFile);
ServiceTag[] javaSvcTags = getJavaServiceTagArray(); ServiceTag[] javaSvcTags = getJavaServiceTagArray();
for (ServiceTag st : javaSvcTags) { for (ServiceTag st : javaSvcTags) {
// Write the instance_run to the servicetag file // Write the instance_run to the servicetag file
String instanceURN = st.getInstanceURN(); String instanceURN = st.getInstanceURN();
out.println(instanceURN); out.println(instanceURN);
} }
} finally {
if (out != null) {
out.close();
}
} }
} }
/** /**
* Load the values associated with the swoRDFish metadata entries * Load the properties for generating Java SE service tags.
* for Java SE. The swoRDFish metadata entries are different for
* different release.
* *
* @param version Version of Java SE * @param version Version of Java SE
*/ */
private static synchronized Properties loadSwordfishEntries() throws IOException { private static synchronized Properties loadServiceTagProps() throws IOException {
if (swordfishProps != null) { if (svcTagProps != null) {
return swordfishProps; return svcTagProps;
} }
// The version string for Java SE 6 is 1.6.0 // For Java SE 8 and later releases, JDK and JRE both use
// We just need the minor number in the version string // the same product number. The sworRDFish metadata were
int version = Util.getJdkVersion(); // for legacy Sun part number.
String filename = "/com/sun/servicetag/resources/javase_servicetag.properties";
String filename = "/com/sun/servicetag/resources/javase_" + try (InputStream in = Installer.class.getResourceAsStream(filename)) {
version + "_swordfish.properties"; svcTagProps = new Properties();
InputStream in = Installer.class.getResourceAsStream(filename); svcTagProps.load(in);
if (in == null) {
return null;
}
swordfishProps = new Properties();
try {
swordfishProps.load(in);
} finally {
in.close();
} }
return swordfishProps; return svcTagProps;
} }
/** /**
...@@ -546,7 +514,7 @@ public class Installer { ...@@ -546,7 +514,7 @@ public class Installer {
return jreArchs; return jreArchs;
} }
Set<String> archs = new HashSet<String>(); Set<String> archs = new HashSet<>();
String os = System.getProperty("os.name"); String os = System.getProperty("os.name");
if (os.equals("SunOS") || os.equals("Linux")) { if (os.equals("SunOS") || os.equals("Linux")) {
...@@ -681,16 +649,16 @@ public class Installer { ...@@ -681,16 +649,16 @@ public class Installer {
String country = locale.getCountry(); String country = locale.getCountry();
String variant = locale.getVariant(); String variant = locale.getVariant();
List<Locale> locales = new ArrayList<Locale>(3); List<Locale> locales = new ArrayList<>(3);
if (variant.length() > 0) { if (variant.length() > 0) {
locales.add(locale); locales.add(locale);
} }
if (country.length() > 0) { if (country.length() > 0) {
locales.add((locales.size() == 0) ? locales.add((locales.isEmpty()) ?
locale : new Locale(language, country, "")); locale : new Locale(language, country, ""));
} }
if (language.length() > 0) { if (language.length() > 0) {
locales.add((locales.size() == 0) ? locales.add((locales.isEmpty()) ?
locale : new Locale(language, "", "")); locale : new Locale(language, "", ""));
} }
return locales; return locales;
...@@ -788,14 +756,11 @@ public class Installer { ...@@ -788,14 +756,11 @@ public class Installer {
// Format the registration data in one single line // Format the registration data in one single line
StringBuilder payload = new StringBuilder(); StringBuilder payload = new StringBuilder();
String xml = regData.toString().replaceAll("\"", "%22"); String xml = regData.toString().replaceAll("\"", "%22");
BufferedReader reader = new BufferedReader(new StringReader(xml)); try (BufferedReader reader = new BufferedReader(new StringReader(xml))) {
try {
String line = null; String line = null;
while ((line = reader.readLine()) != null) { while ((line = reader.readLine()) != null) {
payload.append(line.trim()); payload.append(line.trim());
} }
} finally {
reader.close();
} }
String resourceFilename = "/com/sun/servicetag/resources/register"; String resourceFilename = "/com/sun/servicetag/resources/register";
......
# Copyright (c) 2011, 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.
servicetag.jdk.urn = Q8549
servicetag.jdk.name = Java Development Kit
servicetag.jre.urn = Q8549
servicetag.jre.name = Java Runtime Environment
servicetag.parent.urn = Q8549
servicetag.parent.name = Java Platform, Standard Edition
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=Look In: FileChooser.lookInLabelText=Look In:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=Save In: FileChooser.saveInLabelText=Save In:
FileChooser.fileNameLabelText=File Name: FileChooser.fileNameLabelText=File Name:
FileChooser.folderNameLabelText=Folder name: FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=Folder Name:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=Files of Type: FileChooser.filesOfTypeLabelText=Files of Type:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=Up One Level FileChooser.upFolderToolTipText=Up One Level
FileChooser.upFolderAccessibleName=Up FileChooser.upFolderAccessibleName=Up
FileChooser.homeFolderToolTipText=Home FileChooser.homeFolderToolTipText=Home
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=Suchen in: FileChooser.lookInLabelText=Suchen in:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=Speichern in: FileChooser.saveInLabelText=Speichern in:
FileChooser.fileNameLabelText=Dateiname: FileChooser.fileNameLabelText=Dateiname:
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=Ordnername: FileChooser.folderNameLabelText=Ordnername:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=Dateityp: FileChooser.filesOfTypeLabelText=Dateityp:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=Eine Ebene h\u00F6her FileChooser.upFolderToolTipText=Eine Ebene h\u00F6her
FileChooser.upFolderAccessibleName=Nach oben FileChooser.upFolderAccessibleName=Nach oben
FileChooser.homeFolderToolTipText=Home FileChooser.homeFolderToolTipText=Home
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=Buscar en: FileChooser.lookInLabelText=Buscar en:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=Guardar en: FileChooser.saveInLabelText=Guardar en:
FileChooser.fileNameLabelText=Nombre de Archivo: FileChooser.fileNameLabelText=Nombre de Archivo:
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=Nombre de la Carpeta: FileChooser.folderNameLabelText=Nombre de la Carpeta:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=Archivos de Tipo: FileChooser.filesOfTypeLabelText=Archivos de Tipo:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=Subir un Nivel FileChooser.upFolderToolTipText=Subir un Nivel
FileChooser.upFolderAccessibleName=Arriba FileChooser.upFolderAccessibleName=Arriba
FileChooser.homeFolderToolTipText=Inicio FileChooser.homeFolderToolTipText=Inicio
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=Rechercher dans : FileChooser.lookInLabelText=Rechercher dans :
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=Enregistrer dans : FileChooser.saveInLabelText=Enregistrer dans :
FileChooser.fileNameLabelText=Nom du fichier : FileChooser.fileNameLabelText=Nom du fichier :
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=Nom du dossier : FileChooser.folderNameLabelText=Nom du dossier :
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=Fichiers de type : FileChooser.filesOfTypeLabelText=Fichiers de type :
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=Remonte d'un niveau. FileChooser.upFolderToolTipText=Remonte d'un niveau.
FileChooser.upFolderAccessibleName=Monter FileChooser.upFolderAccessibleName=Monter
FileChooser.homeFolderToolTipText=R\u00E9pertoire d'origine FileChooser.homeFolderToolTipText=R\u00E9pertoire d'origine
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=Cerca in: FileChooser.lookInLabelText=Cerca in:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=Salva in: FileChooser.saveInLabelText=Salva in:
FileChooser.fileNameLabelText=Nome file: FileChooser.fileNameLabelText=Nome file:
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=Nome della cartella: FileChooser.folderNameLabelText=Nome della cartella:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=Tipo file: FileChooser.filesOfTypeLabelText=Tipo file:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=Cartella superiore FileChooser.upFolderToolTipText=Cartella superiore
FileChooser.upFolderAccessibleName=Superiore FileChooser.upFolderAccessibleName=Superiore
FileChooser.homeFolderToolTipText=Home FileChooser.homeFolderToolTipText=Home
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=\u53C2\u7167: FileChooser.lookInLabelText=\u53C2\u7167:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=\u4FDD\u5B58: FileChooser.saveInLabelText=\u4FDD\u5B58:
FileChooser.fileNameLabelText=\u30D5\u30A1\u30A4\u30EB\u540D: FileChooser.fileNameLabelText=\u30D5\u30A1\u30A4\u30EB\u540D:
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=\u30D5\u30A9\u30EB\u30C0\u540D: FileChooser.folderNameLabelText=\u30D5\u30A9\u30EB\u30C0\u540D:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=\u30D5\u30A1\u30A4\u30EB\u306E\u30BF\u30A4\u30D7: FileChooser.filesOfTypeLabelText=\u30D5\u30A1\u30A4\u30EB\u306E\u30BF\u30A4\u30D7:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=1\u30EC\u30D9\u30EB\u4E0A\u3078 FileChooser.upFolderToolTipText=1\u30EC\u30D9\u30EB\u4E0A\u3078
FileChooser.upFolderAccessibleName=\u4E0A\u3078 FileChooser.upFolderAccessibleName=\u4E0A\u3078
FileChooser.homeFolderToolTipText=\u30DB\u30FC\u30E0 FileChooser.homeFolderToolTipText=\u30DB\u30FC\u30E0
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=\uAC80\uC0C9 \uC704\uCE58: FileChooser.lookInLabelText=\uAC80\uC0C9 \uC704\uCE58:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=\uC800\uC7A5 \uC704\uCE58: FileChooser.saveInLabelText=\uC800\uC7A5 \uC704\uCE58:
FileChooser.fileNameLabelText=\uD30C\uC77C \uC774\uB984: FileChooser.fileNameLabelText=\uD30C\uC77C \uC774\uB984:
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=\uD3F4\uB354 \uC774\uB984: FileChooser.folderNameLabelText=\uD3F4\uB354 \uC774\uB984:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=\uD30C\uC77C \uC720\uD615: FileChooser.filesOfTypeLabelText=\uD30C\uC77C \uC720\uD615:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=\uD55C \uB808\uBCA8 \uC704\uB85C FileChooser.upFolderToolTipText=\uD55C \uB808\uBCA8 \uC704\uB85C
FileChooser.upFolderAccessibleName=\uC704\uB85C FileChooser.upFolderAccessibleName=\uC704\uB85C
FileChooser.homeFolderToolTipText=\uD648 FileChooser.homeFolderToolTipText=\uD648
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=Consultar Em: FileChooser.lookInLabelText=Consultar Em:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=Salvar Em: FileChooser.saveInLabelText=Salvar Em:
FileChooser.fileNameLabelText=Nome do Arquivo: FileChooser.fileNameLabelText=Nome do Arquivo:
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=Nome da pasta: FileChooser.folderNameLabelText=Nome da pasta:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=Arquivos do Tipo: FileChooser.filesOfTypeLabelText=Arquivos do Tipo:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=Um N\u00EDvel Acima FileChooser.upFolderToolTipText=Um N\u00EDvel Acima
FileChooser.upFolderAccessibleName=Acima FileChooser.upFolderAccessibleName=Acima
FileChooser.homeFolderToolTipText=In\u00EDcio FileChooser.homeFolderToolTipText=In\u00EDcio
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=Leta i: FileChooser.lookInLabelText=Leta i:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=Spara i: FileChooser.saveInLabelText=Spara i:
FileChooser.fileNameLabelText=Filnamn: FileChooser.fileNameLabelText=Filnamn:
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=Mapp: FileChooser.folderNameLabelText=Mapp:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=Filformat: FileChooser.filesOfTypeLabelText=Filformat:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=Upp en niv\u00E5 FileChooser.upFolderToolTipText=Upp en niv\u00E5
FileChooser.upFolderAccessibleName=Upp FileChooser.upFolderAccessibleName=Upp
FileChooser.homeFolderToolTipText=Hem FileChooser.homeFolderToolTipText=Hem
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=\u67E5\u770B: FileChooser.lookInLabelText=\u67E5\u770B:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=\u4FDD\u5B58: FileChooser.saveInLabelText=\u4FDD\u5B58:
FileChooser.fileNameLabelText=\u6587\u4EF6\u540D: FileChooser.fileNameLabelText=\u6587\u4EF6\u540D:
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=\u6587\u4EF6\u5939\u540D: FileChooser.folderNameLabelText=\u6587\u4EF6\u5939\u540D:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=\u6587\u4EF6\u7C7B\u578B: FileChooser.filesOfTypeLabelText=\u6587\u4EF6\u7C7B\u578B:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=\u5411\u4E0A\u4E00\u7EA7 FileChooser.upFolderToolTipText=\u5411\u4E0A\u4E00\u7EA7
FileChooser.upFolderAccessibleName=\u5411\u4E0A FileChooser.upFolderAccessibleName=\u5411\u4E0A
FileChooser.homeFolderToolTipText=\u4E3B\u76EE\u5F55 FileChooser.homeFolderToolTipText=\u4E3B\u76EE\u5F55
......
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.lookInLabelText=\u67E5\u8A62: FileChooser.lookInLabelText=\u67E5\u8A62:
FileChooser.lookInLabelMnemonic=73
FileChooser.saveInLabelText=\u5132\u5B58\u65BC: FileChooser.saveInLabelText=\u5132\u5B58\u65BC:
FileChooser.fileNameLabelText=\u6A94\u6848\u540D\u7A31: FileChooser.fileNameLabelText=\u6A94\u6848\u540D\u7A31:
FileChooser.fileNameLabelMnemonic=78
FileChooser.folderNameLabelText=\u8CC7\u6599\u593E\u540D\u7A31: FileChooser.folderNameLabelText=\u8CC7\u6599\u593E\u540D\u7A31:
FileChooser.folderNameLabelMnemonic=78
FileChooser.filesOfTypeLabelText=\u6A94\u6848\u985E\u578B: FileChooser.filesOfTypeLabelText=\u6A94\u6848\u985E\u578B:
FileChooser.filesOfTypeLabelMnemonic=84
FileChooser.upFolderToolTipText=\u5F80\u4E0A\u4E00\u5C64 FileChooser.upFolderToolTipText=\u5F80\u4E0A\u4E00\u5C64
FileChooser.upFolderAccessibleName=\u5F80\u4E0A FileChooser.upFolderAccessibleName=\u5F80\u4E0A
FileChooser.homeFolderToolTipText=\u4E3B\u76EE\u9304 FileChooser.homeFolderToolTipText=\u4E3B\u76EE\u9304
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class AmbiguousMethodException extends Exception public class AmbiguousMethodException extends Exception
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public abstract class BreakpointSpec extends EventRequestSpec { public abstract class BreakpointSpec extends EventRequestSpec {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class EvaluationException extends Exception { public class EvaluationException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.ReferenceType; import com.sun.jdi.ReferenceType;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class FrameIndexOutOfBoundsException extends IndexOutOfBoundsException { public class FrameIndexOutOfBoundsException extends IndexOutOfBoundsException {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public interface InputListener { public interface InputListener {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class LineNotFoundException extends Exception public class LineNotFoundException extends Exception
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
class MalformedMemberNameException extends Exception { class MalformedMemberNameException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class MethodNotFoundException extends Exception public class MethodNotFoundException extends Exception
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class NoSessionException extends Exception { public class NoSessionException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class NoThreadException extends Exception { public class NoThreadException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public interface OutputListener { public interface OutputListener {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
// dummy placeholder for javaCC-generated code. // dummy placeholder for javaCC-generated code.
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.VirtualMachine; import com.sun.jdi.VirtualMachine;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import java.util.EventObject; import java.util.EventObject;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class SpecErrorEvent extends SpecEvent { public class SpecErrorEvent extends SpecEvent {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import java.util.EventObject; import java.util.EventObject;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import java.util.EventListener; import java.util.EventListener;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.ThreadGroupReference; import com.sun.jdi.ThreadGroupReference;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
import com.sun.jdi.ThreadGroupReference; import com.sun.jdi.ThreadGroupReference;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; //### does it belong here? package com.sun.tools.example.debug.bdi; //### does it belong here?
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class VMLaunchFailureException extends Exception { public class VMLaunchFailureException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public class VMNotInterruptedException extends Exception { public class VMNotInterruptedException extends Exception {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.bdi; package com.sun.tools.example.debug.bdi;
public abstract class WatchpointSpec extends EventRequestSpec { public abstract class WatchpointSpec extends EventRequestSpec {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
/** /**
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import java.util.EventListener; import java.util.EventListener;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.event.*; import com.sun.jdi.event.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.event; package com.sun.tools.example.debug.event;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
/* Generated By:JavaCC: Do not edit this line. ASCII_UCodeESC_CharStream.java Version 0.7pre6 */ /* Generated By:JavaCC: Do not edit this line. ASCII_UCodeESC_CharStream.java Version 0.7pre6 */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
/* Generated By:JavaCC: Do not edit this line. ExpressionParser.java */ /* Generated By:JavaCC: Do not edit this line. ExpressionParser.java */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
/* Generated By:JavaCC: Do not edit this line. ExpressionParserConstants.java */ /* Generated By:JavaCC: Do not edit this line. ExpressionParserConstants.java */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
/* Generated By:JavaCC: Do not edit this line. ExpressionParserTokenManager.java */ /* Generated By:JavaCC: Do not edit this line. ExpressionParserTokenManager.java */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
import com.sun.jdi.*; import com.sun.jdi.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 0.7pre6 */ /* Generated By:JavaCC: Do not edit this line. ParseException.java Version 0.7pre6 */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
/* Generated By:JavaCC: Do not edit this line. Token.java Version 0.7pre3 */ /* Generated By:JavaCC: Do not edit this line. Token.java Version 0.7pre3 */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 0.7pre2 */ /* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 0.7pre2 */
package com.sun.tools.example.debug.expr; package com.sun.tools.example.debug.expr;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.gui; package com.sun.tools.example.debug.gui;
import javax.swing.*; import javax.swing.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.gui; package com.sun.tools.example.debug.gui;
public class ClassManager { public class ClassManager {
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.gui; package com.sun.tools.example.debug.gui;
import java.util.*; import java.util.*;
......
...@@ -23,6 +23,15 @@ ...@@ -23,6 +23,15 @@
* questions. * questions.
*/ */
/*
* This source code is provided to illustrate the usage of a given feature
* or technique and has been deliberately simplified. Additional steps
* required for a production-quality application, such as security checks,
* input validation and proper error handling, might not be present in
* this sample code.
*/
package com.sun.tools.example.debug.gui; package com.sun.tools.example.debug.gui;
import java.io.*; import java.io.*;
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册