Repository navigation
tests/tools: Gradle and file-redirecting mvn wrappers start UTF-8 JVMs (Part of #5174) - #5382
Conversation
…s; guard extended (Part of #5174) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5382 @ b4b065a: 1 failed check(s) == ground-truth part 1/2 (failure) -- real |
|
No description provided. |
|
No description provided. |
Part of #5174 (siblings of #5161: a JVM started without a UTF-8 charset).
maven_exe.py:gradle_utf8_env(GRADLE_OPTS, the client JVM) andGRADLE_DAEMON_ARG(org.gradle.jvmargs, the daemon JVM; the 512m heap is restated because the property replaces the default).java_target_matrix.build: the Gradle branch uses both (it previously got onlyMAVEN_OPTS).det_survey:estate(file-redirected mvn) andclasspath(text=True, nowencoding="utf-8") run undermaven_utf8_env.ibm_wca4z_port:junitruns undermaven_utf8_env; the JUnit pom's surefireargLinecarries the UTF-8 flags.test_java_subprocess_utf8.py: now also covers Gradle launchers,argv[0]-slot launchers (the form that hid det_survey'stext=Truecall), and requiresenv=frommaven_utf8_env/gradle_utf8_envon every mvn/gradle subprocess; source pins for the callers it cannot see (run_decoded, command variables).Tests/tools only: no golden bless. Local: guard +
test_maven_exe_493964 passed;audit_checkandpr_gates --fastclear. Not run: a real Gradle build (nogradlebinary on this box).Sibling gaps
launcher_executablecallers: only npm, not a JVM. Nothing to fix.java_target_matrix.py:189runstext=Trueon a self-spawned Python (not a JVM). Left alone.Cross-repo
None.
Lessons for agents
test_java_matrix_gate.pyfails to collect when run alone (No module named 'maven_exe'); it needstests/toolsonPYTHONPATH(pre-existing, order-dependent).🤖 Generated with Claude Code