RFR: 8375692: Hotspot container tests assert with non-ascii vendor name [v4]
Severin Gehwolf
sgehwolf at openjdk.org
Thu Jan 22 13:30:58 UTC 2026
> Please review this test-only fix. For non-ascii vendor strings the hotspot container tests fail in fastdebug because the encoding of the vendor string doesn't match. Full details in [JDK-8375471](https://bugs.openjdk.org/browse/JDK-8375471). In order to avoid the assert, the containers need to set to an UTF-8 encoding. This patch proposes to do so by setting `LANG=C.UTF-8`.
>
> Thoughts?
>
> **Testing:**
> - [x] GHA
> - [x] Linux container tests on cg v1 and cg v2 with a JDK build and vendor string `Foo bar öÜß` and fastdebug. All pass. Most failed before.
Severin Gehwolf has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- Merge branch 'master' into jdk-8375692-container-test-assert
- Restore Bellsoft copyright
- Update copyright year
- 8375692: Hotspot container tests assert with non-ascii vendor name
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29315/files
- new: https://git.openjdk.org/jdk/pull/29315/files/e539a64f..dbe943dc
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29315&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29315&range=02-03
Stats: 14011 lines in 386 files changed: 8639 ins; 2067 del; 3305 mod
Patch: https://git.openjdk.org/jdk/pull/29315.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29315/head:pull/29315
PR: https://git.openjdk.org/jdk/pull/29315
More information about the hotspot-runtime-dev
mailing list