RFR: 8375692: Hotspot container tests assert with non-ascii vendor name [v4]

Naoto Sato naoto at openjdk.org
Fri Jan 23 13:20:02 UTC 2026


On Thu, 22 Jan 2026 13:30:58 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

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

Looks fine.

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

Marked as reviewed by naoto (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29315#pullrequestreview-3697432626


More information about the hotspot-runtime-dev mailing list