Skip to content

[TS] Preserve the runtime sort of object literal witness fields - #641

Draft
CaelmBleidd wants to merge 1 commit into
caelmbleidd/calls-configurable-class-probesfrom
caelmbleidd/ts-runtime-sort-witness
Draft

CaelmBleidd wants to merge 1 commit into
caelmbleidd/calls-configurable-class-probesfrom
caelmbleidd/ts-runtime-sort-witness

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Resolve current-state object literal fields using the sort of their latest recorded write. A field declared unknown can contain a directly stored number, and losslessly resolving it requires reading the numeric memory region. Initial input resolution continues to use the source type and initial heap.

The source regression returns a nested object containing a positive subnormal. On #623 without the change, it resolved the field to undefined. It now retains the expected raw bits. JDK 21 with JacoDB 4251d2023d built from source: all 13 focused object-literal, initial-environment, and input-witness tests passed. The returned-callable replay stack also passed with this fix.

The draft targets #628 to provide the prerequisite in the returned-callable replay stack.

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-runtime-sort-witness branch from 3f11f93 to 5ea94e0 Compare December 2, 2026 19:22
@CaelmBleidd
CaelmBleidd changed the base branch from caelmbleidd/ts-failure-witness-evidence to caelmbleidd/calls-configurable-class-probes December 2, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant