Repository navigation
tests: Maven-spawned JVMs and mvn output use UTF-8 (Closes #5161) - #5173
Conversation
run_maven's surefire argLine and every mvn subprocess that captured text now name their charset (MAVEN_OPTS via maven_utf8_env, encoding="utf-8"); the #5128 AST guard covers mvn argv. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5173 @ bc22b9f: 1 failed check(s) == full-suite part 3/3 (failure) -- real |
… (Part of #5161) Six Maven subprocess captures used text=True + errors="replace", which the #3813 source-read gate rejects. maven_exe.run_decoded captures bytes and decodes through gitgalaxy.core.source_text.decode_bytes; the timeout handlers use decode_output. Tests cover UTF-8, BOM, cp1252 and empty/None. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (12c6d92) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Closes #5161. Class: Maven-spawned JVM output decoded with the locale charset (siblings of #5128 / #5109).
equivalence_java.pyrun_maven: surefire-DargLinefile.encodingstill follows);encoding="utf-8";MAVEN_OPTSmutation.pymvn compile -X(classpath is parsed from stdout)cics_crucible.maven,java_target_matrix.build,scip_callgraph._run,test_no_jcl_batch_controllerdp.runcallers (devin_port,thirdparty_port),det_survey,ibm_wca4z_porttest_java_subprocess_utf8.pynow coversmvnargv:text=withoutencoding=, and a literal-DargLine=without the UTF-8 flagsShared helper:
maven_exe.maven_utf8_env/JVM_UTF8_FLAGS.Sibling gaps:
java_target_matrix.buildrunsgradlethe same way (it now decodes as UTF-8 but the Gradle daemon JVM is not told its charset). Windows cp1252 behaviour not verified (Linux box).No engine code changes, so no golden bless.
pr_gates --fast6/6; audit_check clear; targeted tests pass (53).🤖 Generated with Claude Code