Integrated: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException
Naoto Sato
naoto at openjdk.org
Tue Jun 3 23:31:24 UTC 2025
On Mon, 2 Jun 2025 21:48:04 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> Fixing a regression caused by the fix to JDK-8356985. Although the fix in `CharsetTest` was a clean-up and not the gist of the original issue, the change seem to have caused not finding `SkippedException` at runtime in certain cases. Changing the test to JUnit based so that the offending `SkippedException` can be replaced with JUnit's `Assumptions`. Also renamed the test case itself to reflect what's actually tested in it.
This pull request has now been integrated.
Changeset: 9c74d545
Author: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9c74d545147c2eeec187df552037a12b6b476a61
Stats: 224 lines in 7 files changed: 109 ins; 111 del; 4 mod
8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException
Reviewed-by: joehw, jlu, iris
-------------
PR: https://git.openjdk.org/jdk/pull/25601
More information about the core-libs-dev
mailing list