Skip to content

Siblings of #5128: Maven-spawned JVM output decoded with the locale charset #5161

Closed

Description

@squid-protocol

Siblings of #5128 (class: JVM subprocess output decoded with the locale charset instead of UTF-8), found in the review of PR #5160.

PR #5160 fixed every direct java/javac launcher under tests/ and added an AST guard (test_java_subprocess_utf8.py). The guard does not cover JVMs started through Maven or other wrappers:

  • equivalence_java.py (~line 626): mvn ... -DargLine=... runs with text=True and no encoding; surefire's forked JVM has no -Dfile.encoding=UTF-8 / -Dstdout.encoding=UTF-8
  • mutation.py: mvn compile runs with text=True and no encoding
  • Guard: extend test_java_subprocess_utf8.py to mvn argv (or document why dp.run-style byte-capturing wrappers are exempt)

Siblings: #5128, #5109

Activity

  1. added
    bug
    on Oct 14, 2026
  2. squid-protocol commented on Oct 15, 2026

    @squid-protocol
    OwnerAuthor

    Siblings: #5174 (Gradle daemon JVM + file-redirecting mvn wrappers; gaps PR #5173 does not cover).

  3. added
    scope:infra
    on Oct 16, 2026
  4. added a commit that references this issue on Oct 22, 2026
    929dc49
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

    bugscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions