Skip to content

Siblings of #5109: resolved-JDK java/javac subprocess output decoded with the Windows locale charset #5128

Closed

Description

@squid-protocol

Siblings of #5109 (itself siblings of #5091): test helpers that run the resolved JDK binary (str(jdk / "java"), _JDK, java_bin) with text=True and no explicit UTF-8, so output decodes with the Windows locale charset. PR #5127 fixed only the literal ["java"/["javac" form.

Fix: same pattern as #5127 (-encoding UTF-8 for javac, -Dfile.encoding=UTF-8 -Dstdout.encoding=UTF-8 for java, capture bytes, decode UTF-8), then extend the AST guard in test_java_subprocess_utf8.py to cover the resolved-path form.

Checklist (one box per file):

  • tests/cobol_mainframe/test_pointer_lane_4771
  • test_det_nondigit_binary
  • test_det_hfp
  • test_numproc
  • test_key_collation
  • test_det_dynamic_call_4736
  • test_regional_options
  • test_det_funcs
  • test_return_transid_commarea_bytes_4817
  • test_commarea_length_bytes_4817
  • test_link_xctl_chain_4816
  • test_det_le_time
  • test_decimal_comma
  • test_model_link_xctl_4956
  • test_sql_faults
  • test_det_receive_map_justify_5082
  • test_sql_unit_of_work
  • test_link_xctl_commarea_4816
  • test_link_commarea_bytes_4806
  • test_det_translate
  • test_det_ceedays
  • test_det_programs
  • test_cobolrt (java call only)
  • tests/tools/gen_ebcdic_dbcs.py
  • tests/tools/equivalence_env.py
  • tests/tools/equivalence_java.py
  • tests/tools/mutation.py
  • tests/tools/thirdparty_port.py
  • tests/tools/referees/cobrix_adapter.py
  • tests/tools/referees/mapa_adapter.py

Siblings: #5109, #5091, PR #5127

Activity

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

    @squid-protocol
    OwnerAuthor

    Sibling gaps from PR #5160 (Maven-spawned JVMs) are tracked in #5161.

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