Integrated: 8374051: Incorrect parameterized testing of exceptions in AbstractDateTimeTest.java

Justin Lu jlu at openjdk.org
Thu Jan 8 19:04:41 UTC 2026


On Tue, 6 Jan 2026 21:29:31 GMT, Justin Lu <jlu at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 1342db0b
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1342db0bde25c111b25f4339ae2a858dc3b15687
Stats:     158 lines in 9 files changed: 7 ins; 46 del; 105 mod

8374051: Incorrect parameterized testing of exceptions in AbstractDateTimeTest.java

Reviewed-by: naoto, rriggs

-------------

PR: https://git.openjdk.org/jdk/pull/29071


More information about the core-libs-dev mailing list