<i18n dev> Integrated: 8306711: Improve diagnosis of `IntlTest` framework

Justin Lu jlu at openjdk.org
Fri Apr 28 00:35:26 UTC 2023


On Tue, 25 Apr 2023 20:28:33 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review changes to the IntlTest (test framework) class. 
> 
> These changes include
> - Logging the actual exception + stack trace. Previously, the test framework would throw `InvocationTargetException` but hide the actual underlying exception of the failing test unless the test class was ran with -nothrow.
> - Sorting the tests, ensuring for any given run, the tests are ran in the same order. (In [JDK-8305853](https://bugs.openjdk.org/browse/JDK-8305853) it was discovered that on Windows, the test framework would execute tests in a random order each time).
> - Improving output.

This pull request has now been integrated.

Changeset: f3c90f04
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f3c90f0445df359a8bc03630fc5cde2843bbfef1
Stats:     171 lines in 2 files changed: 68 ins; 54 del; 49 mod

8306711: Improve diagnosis of `IntlTest` framework

Reviewed-by: naoto, lancea

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

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


More information about the i18n-dev mailing list