Repository navigation
det: D2 re-check -- Lossless keeps X'25' under the IBM037 family, a hex literal refuses bytes a multi-byte record charset cannot hold (Part of #4702) - #5513
Conversation
…ses bytes a multi-byte record charset cannot hold (Part of #4702) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5513 @ 704471f: 2 failed check(s) == ground-truth (failure) -- real == ground-truth part 1/2 (failure) -- real |
…4702) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (dc9340d) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #4702. Checklist: done [c:3e5c0f84]
What
Re-check of #4698 (non-latin-1 batch DISPLAY bytes + line terminator) against D2 as updated in #5396. The line terminator holds (new test pins one plain LF per DISPLAY, none after WITH NO ADVANCING, batch and standalone Sysout, 5 charsets). The bytes did not hold in two places:
Losslessround trip wrote X'15'UnsupportedOperationException); decodable sequences (X'C3A9') keptD2.md corrected ("every single-byte record charset"; multi-byte refuses). No burned estate runs a multi-byte record charset.
Class table
Same mechanism (
Losslesstext<->byte view): hex literal, record reads/writes, Sysout. All covered by the 256-value round trip. Not touched: generated overlay copytests/cics_crucible/ports/pc-wizard/PCCONF/overlay/cobolrt/Lossless.java(non-burned estate).Gates
register.py --checkok;pr_gates --fast6/6; new test 15 passed (~1 s, JDK only);test_det_bytes_4690E2E (Docker cobc) 17 passed; cobolrt, cobolrt_rules, record_charset, sysout_attrs, source_reads, test_evidence pass.det_port.py check: 125/125 ports unchanged. No golden bless (scan engine untouched).pr_gates --ratchets: 8 pass, 0 fail, 0 skipped (cics-spec, ports, port-surface, estate, fact-crosscheck, completeness, ground-truth, time).Lessons for agents
new String(b, cs)is not injective for the JDK's IBM037 family (X'15' and X'25' both U+000A): any "lossless" charset view must handle duplicate decodes, not only unmapped bytes.Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code