RFR: 8374051: Incorrect parameterized testing of exceptions in AbstractDateTimeTest.java
Justin Lu
jlu at openjdk.org
Tue Jan 6 21:37:44 UTC 2026
Discovered in https://github.com/openjdk/jdk/pull/28911, two test methods in the base test class _AbstractDateTimeTest.java_ were not testing all the `TemporalAccessor`s from `samples()` correctly. This PR updates the test methods to become parametrized so that their assertions do not exit early.
-------------
Commit messages:
- init
Changes: https://git.openjdk.org/jdk/pull/29071/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29071&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8374051
Stats: 17 lines in 1 file changed: 2 ins; 4 del; 11 mod
Patch: https://git.openjdk.org/jdk/pull/29071.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29071/head:pull/29071
PR: https://git.openjdk.org/jdk/pull/29071
More information about the core-libs-dev
mailing list