[jdk17u-dev] Integrated: 8316696: Remove the testing base classes: IntlTest and CollatorTest
Goetz Lindenmaier
goetz at openjdk.org
Sat Jan 18 14:16:41 UTC 2025
On Thu, 16 Jan 2025 10:28:23 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> I backport this for parity with 17.0.15-oracle.
>
> Several enhancements touched the files edited in this change
> causing the need to resolve. Among others:
> 8283698: Refactor Locale constructors used in src/test
> 8287868: Localized names update in COMPAT locale provider
> Several tests needed resolving of Copyright. I omit those in the
> following list.
>
> test/jdk/java/text/BreakIterator/BreakIteratorTest.java
> Two of the modified tests not in 17.
>
> test/jdk/java/text/Collator/APITest.java
> test/jdk/java/text/Format/DateFormat/DateFormatTest.java
> I had to edit the quite different test output, but changes trivial.
>
> test/jdk/java/text/Format/NumberFormat/Bug4838107.java
> Later change "8317372: Refactor some NumberFormat tests to use JUnit" was already backported
> including some lines of this change.
>
> test/jdk/java/text/Format/NumberFormat/IntlTestDecimalFormatSymbols.java
> 19 added enhancement "8282625: Formatter caches Locale/DecimalFormatSymbols poorly"
> I had to edit the quite different test output, but changes trivial.
>
> test/jdk/java/util/Locale/LegacyCodesClassInvariant.java
> This includes a bit of test rework I had to resolve, but the changed
> code is identical to 21. The resolve is needed becuase of context
> differences.
>
> test/jdk/java/util/Locale/LocaleEnhanceTest.java
> test/jdk/java/util/Locale/LocaleTest.java
> These needed mostly trivial edits.
>
>
> test/jdk/java/util/TimeZone/TimeZoneTest.java
> Resolved as "8285844: TimeZone.getTimeZone(ZoneOffset) does not work for all
> ZoneOffsets and returns GMT unexpected" not in 17.
This pull request has now been integrated.
Changeset: 2d29e1bf
Author: Goetz Lindenmaier <goetz at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/2d29e1bff0c5c599da2104b6e10fed29fbb5bf4b
Stats: 4457 lines in 79 files changed: 918 ins; 1080 del; 2459 mod
8316696: Remove the testing base classes: IntlTest and CollatorTest
Reviewed-by: mdoerr
Backport-of: b859da9c548fbd1463b336059d1c55312c7b7ba4
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/3214
More information about the jdk-updates-dev
mailing list