hg: jdk8/tl/jdk: 8007392: JSR 310: DateTime API Updates; ...

xueming.shen at oracle.com xueming.shen at oracle.com
Tue Feb 12 17:27:13 UTC 2013


Changeset: 7dcb74c3ffba
Author:    sherman
Date:      2013-02-12 09:25 -0800
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7dcb74c3ffba

8007392: JSR 310: DateTime API Updates
8007520: Update date/time classes in j.util and j.sql packages
8007572: Replace existing jdk timezone data at <java.home>/lib/zi with JSR310's tzdb
Summary: Integration of JSR310 Date/Time API for M7
Reviewed-by: darcy, alanb, naoto
Contributed-by: scolebourne at joda.org, roger.riggs at oracle.com, masayoshi.okutsu at oracle.com, patrick.zhang at oracle.com

! make/docs/CORE_PKGS.gmk
! make/java/java/FILES_java.gmk
! make/sun/Makefile
! make/sun/javazic/Makefile
+ make/sun/javazic/tzdata/gmt
+ make/sun/javazic/tzdata/jdk11_backward
! make/sun/tzdb/Makefile
! make/tools/Makefile
! make/tools/src/build/tools/javazic/Zoneinfo.java
! make/tools/src/build/tools/tzdb/TzdbZoneRulesCompiler.java
! makefiles/GendataTZDB.gmk
! makefiles/GendataTimeZone.gmk
! makefiles/GenerateData.gmk
! makefiles/Tools.gmk
! src/share/classes/java/sql/Date.java
! src/share/classes/java/sql/Time.java
! src/share/classes/java/sql/Timestamp.java
! src/share/classes/java/time/Clock.java
! src/share/classes/java/time/DayOfWeek.java
! src/share/classes/java/time/Duration.java
! src/share/classes/java/time/Instant.java
! src/share/classes/java/time/LocalDate.java
! src/share/classes/java/time/LocalDateTime.java
! src/share/classes/java/time/LocalTime.java
! src/share/classes/java/time/Month.java
+ src/share/classes/java/time/MonthDay.java
+ src/share/classes/java/time/OffsetDateTime.java
+ src/share/classes/java/time/OffsetTime.java
! src/share/classes/java/time/Period.java
- src/share/classes/java/time/PeriodParser.java
! src/share/classes/java/time/Ser.java
+ src/share/classes/java/time/Year.java
+ src/share/classes/java/time/YearMonth.java
! src/share/classes/java/time/ZoneId.java
! src/share/classes/java/time/ZoneOffset.java
! src/share/classes/java/time/ZoneRegion.java
! src/share/classes/java/time/ZonedDateTime.java
- src/share/classes/java/time/calendar/ChronoDateImpl.java
- src/share/classes/java/time/calendar/HijrahChrono.java
- src/share/classes/java/time/calendar/HijrahDate.java
- src/share/classes/java/time/calendar/HijrahDeviationReader.java
- src/share/classes/java/time/calendar/HijrahEra.java
- src/share/classes/java/time/calendar/JapaneseChrono.java
- src/share/classes/java/time/calendar/JapaneseDate.java
- src/share/classes/java/time/calendar/JapaneseEra.java
- src/share/classes/java/time/calendar/MinguoChrono.java
- src/share/classes/java/time/calendar/MinguoDate.java
- src/share/classes/java/time/calendar/MinguoEra.java
- src/share/classes/java/time/calendar/Ser.java
- src/share/classes/java/time/calendar/ThaiBuddhistChrono.java
- src/share/classes/java/time/calendar/ThaiBuddhistDate.java
- src/share/classes/java/time/calendar/ThaiBuddhistEra.java
- src/share/classes/java/time/calendar/package-info.java
+ src/share/classes/java/time/chrono/ChronoDateImpl.java
+ src/share/classes/java/time/chrono/ChronoLocalDate.java
+ src/share/classes/java/time/chrono/ChronoLocalDateTime.java
+ src/share/classes/java/time/chrono/ChronoLocalDateTimeImpl.java
+ src/share/classes/java/time/chrono/ChronoZonedDateTime.java
+ src/share/classes/java/time/chrono/ChronoZonedDateTimeImpl.java
+ src/share/classes/java/time/chrono/Chronology.java
+ src/share/classes/java/time/chrono/Era.java
+ src/share/classes/java/time/chrono/HijrahChronology.java
+ src/share/classes/java/time/chrono/HijrahDate.java
+ src/share/classes/java/time/chrono/HijrahDeviationReader.java
+ src/share/classes/java/time/chrono/HijrahEra.java
+ src/share/classes/java/time/chrono/IsoChronology.java
+ src/share/classes/java/time/chrono/IsoEra.java
+ src/share/classes/java/time/chrono/JapaneseChronology.java
+ src/share/classes/java/time/chrono/JapaneseDate.java
+ src/share/classes/java/time/chrono/JapaneseEra.java
+ src/share/classes/java/time/chrono/MinguoChronology.java
+ src/share/classes/java/time/chrono/MinguoDate.java
+ src/share/classes/java/time/chrono/MinguoEra.java
+ src/share/classes/java/time/chrono/Ser.java
+ src/share/classes/java/time/chrono/ThaiBuddhistChronology.java
+ src/share/classes/java/time/chrono/ThaiBuddhistDate.java
+ src/share/classes/java/time/chrono/ThaiBuddhistEra.java
+ src/share/classes/java/time/chrono/package-info.java
! src/share/classes/java/time/format/DateTimeBuilder.java
! src/share/classes/java/time/format/DateTimeFormatStyleProvider.java
! src/share/classes/java/time/format/DateTimeFormatter.java
! src/share/classes/java/time/format/DateTimeFormatterBuilder.java
- src/share/classes/java/time/format/DateTimeFormatters.java
! src/share/classes/java/time/format/DateTimeParseContext.java
! src/share/classes/java/time/format/DateTimePrintContext.java
- src/share/classes/java/time/format/DateTimePrintException.java
! src/share/classes/java/time/format/DateTimeTextProvider.java
! src/share/classes/java/time/format/FormatStyle.java
+ src/share/classes/java/time/format/ZoneName.java
! src/share/classes/java/time/format/package-info.java
! src/share/classes/java/time/overview.html
! src/share/classes/java/time/package-info.java
- src/share/classes/java/time/temporal/Chrono.java
! src/share/classes/java/time/temporal/ChronoField.java
- src/share/classes/java/time/temporal/ChronoLocalDate.java
- src/share/classes/java/time/temporal/ChronoLocalDateTime.java
- src/share/classes/java/time/temporal/ChronoLocalDateTimeImpl.java
! src/share/classes/java/time/temporal/ChronoUnit.java
- src/share/classes/java/time/temporal/ChronoZonedDateTime.java
- src/share/classes/java/time/temporal/ChronoZonedDateTimeImpl.java
- src/share/classes/java/time/temporal/Era.java
- src/share/classes/java/time/temporal/ISOChrono.java
- src/share/classes/java/time/temporal/ISOEra.java
- src/share/classes/java/time/temporal/ISOFields.java
+ src/share/classes/java/time/temporal/IsoFields.java
! src/share/classes/java/time/temporal/JulianFields.java
- src/share/classes/java/time/temporal/MonthDay.java
- src/share/classes/java/time/temporal/OffsetDate.java
- src/share/classes/java/time/temporal/OffsetDateTime.java
- src/share/classes/java/time/temporal/OffsetTime.java
! src/share/classes/java/time/temporal/Queries.java
- src/share/classes/java/time/temporal/Ser.java
- src/share/classes/java/time/temporal/SimplePeriod.java
! src/share/classes/java/time/temporal/Temporal.java
! src/share/classes/java/time/temporal/TemporalAccessor.java
- src/share/classes/java/time/temporal/TemporalAdder.java
! src/share/classes/java/time/temporal/TemporalAdjuster.java
+ src/share/classes/java/time/temporal/TemporalAmount.java
! src/share/classes/java/time/temporal/TemporalField.java
! src/share/classes/java/time/temporal/TemporalQuery.java
- src/share/classes/java/time/temporal/TemporalSubtractor.java
! src/share/classes/java/time/temporal/TemporalUnit.java
! src/share/classes/java/time/temporal/WeekFields.java
- src/share/classes/java/time/temporal/Year.java
- src/share/classes/java/time/temporal/YearMonth.java
! src/share/classes/java/time/temporal/package-info.java
! src/share/classes/java/time/zone/TzdbZoneRulesProvider.java
! src/share/classes/java/time/zone/ZoneOffsetTransitionRule.java
! src/share/classes/java/time/zone/ZoneRules.java
! src/share/classes/java/time/zone/ZoneRulesProvider.java
! src/share/classes/java/util/Calendar.java
! src/share/classes/java/util/Date.java
! src/share/classes/java/util/Formatter.java
! src/share/classes/java/util/GregorianCalendar.java
! src/share/classes/java/util/TimeZone.java
! src/share/classes/sun/text/resources/FormatData.java
! src/share/classes/sun/text/resources/ar/FormatData_ar.java
! src/share/classes/sun/text/resources/el/FormatData_el.java
! src/share/classes/sun/text/resources/hr/FormatData_hr.java
! src/share/classes/sun/text/resources/ja/FormatData_ja.java
! src/share/classes/sun/text/resources/ko/FormatData_ko.java
! src/share/classes/sun/text/resources/sr/FormatData_sr.java
! src/share/classes/sun/text/resources/sv/FormatData_sv.java
! src/share/classes/sun/text/resources/zh/FormatData_zh.java
! src/share/classes/sun/text/resources/zh/FormatData_zh_TW.java
! src/share/classes/sun/util/calendar/CalendarSystem.java
! src/share/classes/sun/util/calendar/LocalGregorianCalendar.java
- src/share/classes/sun/util/calendar/TzIDOldMapping.java
! src/share/classes/sun/util/calendar/ZoneInfo.java
! src/share/classes/sun/util/calendar/ZoneInfoFile.java
! src/share/classes/sun/util/locale/provider/CalendarDataUtility.java
! src/share/classes/sun/util/locale/provider/CalendarNameProviderImpl.java
! src/share/classes/sun/util/locale/provider/LocaleResources.java
+ test/java/sql/JavatimeTest.java
+ test/java/time/META-INF/services/java.time.chrono.Chronology
- test/java/time/META-INF/services/java.time.temporal.Chrono
! test/java/time/tck/java/time/AbstractTCKTest.java
+ test/java/time/tck/java/time/MockSimplePeriod.java
! test/java/time/tck/java/time/TCKClock.java
! test/java/time/tck/java/time/TCKClock_Fixed.java
! test/java/time/tck/java/time/TCKClock_Offset.java
! test/java/time/tck/java/time/TCKClock_System.java
! test/java/time/tck/java/time/TCKClock_Tick.java
! test/java/time/tck/java/time/TCKDayOfWeek.java
! test/java/time/tck/java/time/TCKDuration.java
! test/java/time/tck/java/time/TCKInstant.java
! test/java/time/tck/java/time/TCKLocalDate.java
! test/java/time/tck/java/time/TCKLocalDateTime.java
! test/java/time/tck/java/time/TCKLocalTime.java
! test/java/time/tck/java/time/TCKMonth.java
+ test/java/time/tck/java/time/TCKMonthDay.java
+ test/java/time/tck/java/time/TCKOffsetDateTime.java
+ test/java/time/tck/java/time/TCKOffsetTime.java
+ test/java/time/tck/java/time/TCKPeriod.java
+ test/java/time/tck/java/time/TCKYear.java
+ test/java/time/tck/java/time/TCKYearMonth.java
! test/java/time/tck/java/time/TCKZoneId.java
! test/java/time/tck/java/time/TCKZoneOffset.java
! test/java/time/tck/java/time/TCKZonedDateTime.java
+ test/java/time/tck/java/time/TestChronology.java
+ test/java/time/tck/java/time/TestIsoChronology.java
- test/java/time/tck/java/time/calendar/CopticChrono.java
- test/java/time/tck/java/time/calendar/CopticDate.java
- test/java/time/tck/java/time/calendar/CopticEra.java
- test/java/time/tck/java/time/calendar/TestChronoLocalDate.java
- test/java/time/tck/java/time/calendar/TestChronoLocalDateTime.java
- test/java/time/tck/java/time/calendar/TestHijrahChrono.java
- test/java/time/tck/java/time/calendar/TestJapaneseChrono.java
- test/java/time/tck/java/time/calendar/TestMinguoChrono.java
- test/java/time/tck/java/time/calendar/TestServiceLoader.java
- test/java/time/tck/java/time/calendar/TestThaiBuddhistChrono.java
+ test/java/time/tck/java/time/chrono/CopticChronology.java
+ test/java/time/tck/java/time/chrono/CopticDate.java
+ test/java/time/tck/java/time/chrono/CopticEra.java
+ test/java/time/tck/java/time/chrono/TCKChronology.java
+ test/java/time/tck/java/time/chrono/TCKTestServiceLoader.java
+ test/java/time/tck/java/time/chrono/TestChronoLocalDate.java
+ test/java/time/tck/java/time/chrono/TestChronoLocalDateTime.java
+ test/java/time/tck/java/time/chrono/TestHijrahChronology.java
+ test/java/time/tck/java/time/chrono/TestJapaneseChronology.java
+ test/java/time/tck/java/time/chrono/TestMinguoChronology.java
+ test/java/time/tck/java/time/chrono/TestThaiBuddhistChronology.java
+ test/java/time/tck/java/time/format/TCKChronoPrinterParser.java
! test/java/time/tck/java/time/format/TCKDateTimeFormatter.java
! test/java/time/tck/java/time/format/TCKDateTimeFormatterBuilder.java
! test/java/time/tck/java/time/format/TCKDateTimeFormatters.java
- test/java/time/tck/java/time/format/TCKDateTimePrintException.java
! test/java/time/tck/java/time/format/TCKDateTimeTextPrinting.java
! test/java/time/tck/java/time/format/TCKLocalizedFieldParser.java
! test/java/time/tck/java/time/format/TCKLocalizedFieldPrinter.java
+ test/java/time/tck/java/time/format/TCKLocalizedPrinterParser.java
+ test/java/time/tck/java/time/format/TCKOffsetPrinterParser.java
+ test/java/time/tck/java/time/format/TCKPadPrinterParser.java
+ test/java/time/tck/java/time/format/TCKZoneIdPrinterParser.java
- test/java/time/tck/java/time/temporal/TCKISOFields.java
+ test/java/time/tck/java/time/temporal/TCKIsoFields.java
! test/java/time/tck/java/time/temporal/TCKJulianFields.java
- test/java/time/tck/java/time/temporal/TCKMonthDay.java
- test/java/time/tck/java/time/temporal/TCKOffsetDate.java
- test/java/time/tck/java/time/temporal/TCKOffsetDateTime.java
- test/java/time/tck/java/time/temporal/TCKOffsetTime.java
- test/java/time/tck/java/time/temporal/TCKSimplePeriod.java
! test/java/time/tck/java/time/temporal/TCKWeekFields.java
- test/java/time/tck/java/time/temporal/TCKYear.java
- test/java/time/tck/java/time/temporal/TCKYearMonth.java
- test/java/time/tck/java/time/temporal/TestChrono.java
! test/java/time/tck/java/time/temporal/TestChronoLocalDate.java
! test/java/time/tck/java/time/temporal/TestChronoLocalDateTime.java
! test/java/time/tck/java/time/temporal/TestChronoZonedDateTime.java
- test/java/time/tck/java/time/temporal/TestISOChrono.java
! test/java/time/tck/java/time/zone/TCKFixedZoneRules.java
! test/java/time/tck/java/time/zone/TCKZoneOffsetTransition.java
! test/java/time/tck/java/time/zone/TCKZoneOffsetTransitionRule.java
! test/java/time/tck/java/time/zone/TCKZoneRules.java
! test/java/time/tck/java/time/zone/TCKZoneRulesProvider.java
! test/java/time/test/java/time/MockSimplePeriod.java
! test/java/time/test/java/time/TestDuration.java
! test/java/time/test/java/time/TestLocalDateTime.java
! test/java/time/test/java/time/TestLocalTime.java
+ test/java/time/test/java/time/TestMonthDay.java
+ test/java/time/test/java/time/TestOffsetDateTime.java
+ test/java/time/test/java/time/TestOffsetDateTime_instants.java
+ test/java/time/test/java/time/TestOffsetTime.java
! test/java/time/test/java/time/TestPeriod.java
- test/java/time/test/java/time/TestPeriodParser.java
+ test/java/time/test/java/time/TestYear.java
+ test/java/time/test/java/time/TestYearMonth.java
! test/java/time/test/java/time/TestZoneId.java
+ test/java/time/test/java/time/chrono/TestExampleCode.java
+ test/java/time/test/java/time/chrono/TestIsoChronoImpl.java
+ test/java/time/test/java/time/chrono/TestServiceLoader.java
! test/java/time/test/java/time/format/TestCharLiteralParser.java
! test/java/time/test/java/time/format/TestCharLiteralPrinter.java
+ test/java/time/test/java/time/format/TestDateTimeFormatterBuilder.java
- test/java/time/test/java/time/format/TestDateTimeFormatters.java
- test/java/time/test/java/time/format/TestDateTimePrintException.java
! test/java/time/test/java/time/format/TestDateTimeTextProvider.java
! test/java/time/test/java/time/format/TestFractionPrinterParser.java
+ test/java/time/test/java/time/format/TestNonIsoFormatter.java
! test/java/time/test/java/time/format/TestNumberParser.java
! test/java/time/test/java/time/format/TestNumberPrinter.java
- test/java/time/test/java/time/format/TestPadParserDecorator.java
! test/java/time/test/java/time/format/TestPadPrinterDecorator.java
! test/java/time/test/java/time/format/TestReducedParser.java
! test/java/time/test/java/time/format/TestReducedPrinter.java
! test/java/time/test/java/time/format/TestSettingsParser.java
! test/java/time/test/java/time/format/TestStringLiteralParser.java
! test/java/time/test/java/time/format/TestStringLiteralPrinter.java
! test/java/time/test/java/time/format/TestTextParser.java
! test/java/time/test/java/time/format/TestTextPrinter.java
- test/java/time/test/java/time/format/TestZoneIdParser.java
! test/java/time/test/java/time/format/TestZoneOffsetParser.java
! test/java/time/test/java/time/format/TestZoneOffsetPrinter.java
! test/java/time/test/java/time/format/TestZoneTextPrinterParser.java
+ test/java/time/test/java/time/format/ZoneName.java
! test/java/time/test/java/time/temporal/MockFieldNoValue.java
! test/java/time/test/java/time/temporal/MockFieldValue.java
! test/java/time/test/java/time/temporal/TestChronoUnit.java
! test/java/time/test/java/time/temporal/TestDateTimeBuilderCombinations.java
- test/java/time/test/java/time/temporal/TestISOChronoImpl.java
! test/java/time/test/java/time/temporal/TestJapaneseChronoImpl.java
+ test/java/time/test/java/time/temporal/TestJulianFields.java
- test/java/time/test/java/time/temporal/TestMonthDay.java
- test/java/time/test/java/time/temporal/TestOffsetDate.java
- test/java/time/test/java/time/temporal/TestOffsetDateTime.java
- test/java/time/test/java/time/temporal/TestOffsetDateTime_instants.java
- test/java/time/test/java/time/temporal/TestOffsetTime.java
! test/java/time/test/java/time/temporal/TestThaiBuddhistChronoImpl.java
- test/java/time/test/java/time/temporal/TestYear.java
- test/java/time/test/java/time/temporal/TestYearMonth.java
! test/java/time/test/java/time/zone/TestFixedZoneRules.java
! test/java/time/test/java/util/TestFormatter.java
+ test/java/util/Calendar/JavatimeTest.java
! test/java/util/TimeZone/OldIDMappingTest.java
+ test/java/util/TimeZone/TzIDOldMapping.java
+ test/sun/util/calendar/zi/BackEnd.java
+ test/sun/util/calendar/zi/Checksum.java
+ test/sun/util/calendar/zi/DayOfWeek.java
+ test/sun/util/calendar/zi/Gen.java
+ test/sun/util/calendar/zi/GenDoc.java
+ test/sun/util/calendar/zi/Main.java
+ test/sun/util/calendar/zi/Mappings.java
+ test/sun/util/calendar/zi/Month.java
+ test/sun/util/calendar/zi/Rule.java
+ test/sun/util/calendar/zi/RuleDay.java
+ test/sun/util/calendar/zi/RuleRec.java
+ test/sun/util/calendar/zi/Simple.java
+ test/sun/util/calendar/zi/TestZoneInfo310.java
+ test/sun/util/calendar/zi/Time.java
+ test/sun/util/calendar/zi/Timezone.java
+ test/sun/util/calendar/zi/TzIDOldMapping.java
+ test/sun/util/calendar/zi/Zone.java
+ test/sun/util/calendar/zi/ZoneInfoFile.java
+ test/sun/util/calendar/zi/ZoneInfoOld.java
+ test/sun/util/calendar/zi/ZoneRec.java
+ test/sun/util/calendar/zi/Zoneinfo.java
+ test/sun/util/calendar/zi/tzdata/VERSION
+ test/sun/util/calendar/zi/tzdata/africa
+ test/sun/util/calendar/zi/tzdata/antarctica
+ test/sun/util/calendar/zi/tzdata/asia
+ test/sun/util/calendar/zi/tzdata/australasia
+ test/sun/util/calendar/zi/tzdata/backward
+ test/sun/util/calendar/zi/tzdata/etcetera
+ test/sun/util/calendar/zi/tzdata/europe
+ test/sun/util/calendar/zi/tzdata/factory
+ test/sun/util/calendar/zi/tzdata/gmt
+ test/sun/util/calendar/zi/tzdata/iso3166.tab
+ test/sun/util/calendar/zi/tzdata/jdk11_backward
+ test/sun/util/calendar/zi/tzdata/leapseconds
+ test/sun/util/calendar/zi/tzdata/northamerica
+ test/sun/util/calendar/zi/tzdata/pacificnew
+ test/sun/util/calendar/zi/tzdata/solar87
+ test/sun/util/calendar/zi/tzdata/solar88
+ test/sun/util/calendar/zi/tzdata/solar89
+ test/sun/util/calendar/zi/tzdata/southamerica
+ test/sun/util/calendar/zi/tzdata/systemv
+ test/sun/util/calendar/zi/tzdata/zone.tab
+ test/sun/util/calendar/zi/tzdata_jdk/gmt
+ test/sun/util/calendar/zi/tzdata_jdk/jdk11_backward
+ test/sun/util/calendar/zi/tzdata_jdk/jdk11_full_backward




More information about the security-dev mailing list