Recover IC2 with bytecode verification #1

Closed
opened 2026-09-20 22:11:24 +02:00 by rexlManu · 0 comments
Owner

IC2 1.115.231-lf recovery is complete under the strict comparator rules in docs/ic2-recovery.md.

  • Preserve original IC2, optional APIs, and legacy runtime inputs with checksums and provenance.
  • Restore Java 8 compilation and the Forge EventTransformer descriptor fix.
  • Verify original IC2 on its unchanged legacy runtime and on the split platform.
  • Add Gradle remapping, CFR/Vineflower, strict comparison, and fingerprint-bound review gates.
  • Compile all 424 IC2 classes from 381 maintained Java files.
  • Resolve all 178 former review entries. All executable instructions now match.
  • Restore original signatures and inner-class records from maintained class-metadata declarations. No original classes or method bodies are copied during the build.
  • Reach zero strict differences: 3,627 matching entries, zero differences, zero accepted reviews.
  • Pass all seven bytecode-tool tests, including metadata restoration and failure handling.
  • Compare furnace operation, NBT, disk save/reload, 44 tile snapshots, 17 codec cases, three reactor traces, 72 battery cases, 162 recipe cases, and cable transfer/disconnection.
  • Verify a clean source build and both development packs. Each pack contains the verified rebuilt jar, without test mods, reference jars, or optional API stubs.
  • Verify a live local multiplayer session with the normal client and a separate dedicated server: login, furnace placement, GUI, inventory input, two iron ingots smelted, and inventory transfer.
  • Stop and restart the multiplayer server, rejoin, and verify the same furnace retained two ingots and one ore block.
  • Close both test processes and update AGENTS.md and docs/ic2-recovery.md.

Final checks pass: :tools:bytecode:verifyIc2Bytecode, :mods:ic2:build, :tools:bytecode:test, :tools:bytecode:verifyOriginalIc2Server, :platform:bootstrap:verifyIc2Runtime, :platform:bootstrap:runServerSmokeTest, verifyPlatformSourceLayout, and both pack assembly tasks.

The comparator is unchanged. It ignores the documented debug/frame/constant-pool/jar bookkeeping details, so this is not a claim that the raw jars have identical bytes. Multiplayer verification covered one local client; multi-user and Internet sessions were not tested.

A separate legacy RCON socket-lifetime bug discovered during verification is tracked in #3. In-game operator commands work and were used for the multiplayer check.

Committed and pushed as 8daa0dac3f25387f711c947f7dd10ab7b8b60103 on t3code/voldeloom-review-fixes-notes.

IC2 1.115.231-lf recovery is complete under the strict comparator rules in `docs/ic2-recovery.md`. - [x] Preserve original IC2, optional APIs, and legacy runtime inputs with checksums and provenance. - [x] Restore Java 8 compilation and the Forge EventTransformer descriptor fix. - [x] Verify original IC2 on its unchanged legacy runtime and on the split platform. - [x] Add Gradle remapping, CFR/Vineflower, strict comparison, and fingerprint-bound review gates. - [x] Compile all 424 IC2 classes from 381 maintained Java files. - [x] Resolve all 178 former review entries. All executable instructions now match. - [x] Restore original signatures and inner-class records from maintained class-metadata declarations. No original classes or method bodies are copied during the build. - [x] Reach zero strict differences: 3,627 matching entries, zero differences, zero accepted reviews. - [x] Pass all seven bytecode-tool tests, including metadata restoration and failure handling. - [x] Compare furnace operation, NBT, disk save/reload, 44 tile snapshots, 17 codec cases, three reactor traces, 72 battery cases, 162 recipe cases, and cable transfer/disconnection. - [x] Verify a clean source build and both development packs. Each pack contains the verified rebuilt jar, without test mods, reference jars, or optional API stubs. - [x] Verify a live local multiplayer session with the normal client and a separate dedicated server: login, furnace placement, GUI, inventory input, two iron ingots smelted, and inventory transfer. - [x] Stop and restart the multiplayer server, rejoin, and verify the same furnace retained two ingots and one ore block. - [x] Close both test processes and update AGENTS.md and docs/ic2-recovery.md. Final checks pass: `:tools:bytecode:verifyIc2Bytecode`, `:mods:ic2:build`, `:tools:bytecode:test`, `:tools:bytecode:verifyOriginalIc2Server`, `:platform:bootstrap:verifyIc2Runtime`, `:platform:bootstrap:runServerSmokeTest`, `verifyPlatformSourceLayout`, and both pack assembly tasks. The comparator is unchanged. It ignores the documented debug/frame/constant-pool/jar bookkeeping details, so this is not a claim that the raw jars have identical bytes. Multiplayer verification covered one local client; multi-user and Internet sessions were not tested. A separate legacy RCON socket-lifetime bug discovered during verification is tracked in #3. In-game operator commands work and were used for the multiplayer check. Committed and pushed as `8daa0dac3f25387f711c947f7dd10ab7b8b60103` on `t3code/voldeloom-review-fixes-notes`.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rexlManu/TekkitLite#1
No description provided.