Skip to content

Siblings of #5091: java/javac subprocess output decoded with the Windows locale charset #5109

Closed

Description

@squid-protocol

Siblings of #5091 (PR #5108 fixed _cics_task in tests/cics_crucible/test_cics_runtimes.py).

Class: test helpers that run javac/java with text=True and no explicit encoding, so non-ASCII output (or sources) is decoded with the Windows locale charset and can fail in the reader thread (stdout None). Pattern to copy: PR #5108 (javac -encoding UTF-8, java -Dfile.encoding=UTF-8 -Dstdout.encoding=UTF-8, capture bytes and .decode('utf-8')).

  • tests/cobol_mainframe/test_cobol_compare.py:93-94
  • tests/cobol_mainframe/test_facade_layout_4449.py:253-256
  • sweep the rest of tests/ for ["java" / ["javac" subprocess calls without UTF-8 (already fine: test_bidi_layout, test_dbcs_widths, test_cobol_records_digits, test_runtimes_always)

🤖 Generated with Claude Code

Activity

  1. added
    bug
    on Oct 14, 2026
  2. added
    scope:infra
    on Oct 16, 2026
  3. added a commit that references this issue on Oct 22, 2026
    5eb36b0
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