Skip to content

Siblings of #5161: JVMs started via Gradle / file-redirecting mvn wrappers without a UTF-8 charset #5174

Closed

Description

@squid-protocol

Siblings of #5161 (class: JVM output decoded with the locale charset / JVM started without a UTF-8 charset), found in the review of PR #5173. PR #5173 fixed every mvn subprocess under tests/ (MAVEN_OPTS + surefire argLine + encoding="utf-8") and extended the guard test_java_subprocess_utf8.py to mvn argv. Remaining members, different mechanism:

  • java_target_matrix.build (~line 224): Gradle path. Output is now decoded as UTF-8, but the Gradle daemon JVM is not told its charset (GRADLE_OPTS / -Dorg.gradle.jvmargs=-Dfile.encoding=UTF-8 ...)
  • det_survey and ibm_wca4z_port: mvn output is redirected to a file (no locale decode), but the JVMs they start still use the platform default charset; pass maven_utf8_env + UTF-8 argLine
  • Other launcher_executable callers (npm etc.): sweep for JVM- or locale-dependent output decoded with text=True and no encoding

Siblings: #5161, #5128, #5109

Activity

  1. added
    bug
    priority: low
    scope:infra
    on Oct 15, 2026
  2. squid-protocol commented on Oct 17, 2026

    @squid-protocol
    OwnerAuthor

    Done in #5382: Gradle client+daemon JVMs, det_survey and ibm_wca4z_port mvn runs now get UTF-8; guard extended. Remaining launcher_executable callers are npm only (not a JVM), so all three boxes are met.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority: lowscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions