RFR: 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException [v2]
Naoto Sato
naoto at openjdk.org
Tue Jun 3 16:59:18 UTC 2025
> 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.
Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
Use of OutputAnalyzer.shouldHaveExitValue() where appropriate
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25601/files
- new: https://git.openjdk.org/jdk/pull/25601/files/2ce00332..24ccb0fc
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25601&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25601&range=00-01
Stats: 14 lines in 4 files changed: 0 ins; 9 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/25601.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25601/head:pull/25601
PR: https://git.openjdk.org/jdk/pull/25601
More information about the core-libs-dev
mailing list