Skip to content

Conversation

@romtsn
Copy link
Member

@romtsn romtsn commented Dec 17, 2025

Part of #40

There are failing tests in this PR that need fixes in the mapper/cache itself, so I will open a follow-up PR that targets this branch.

R8 Retrace Test Coverage

  • Inlining (13 tests) - inline frames, line numbers, source files, rewriteFrame rules
  • Ambiguous Methods (7 tests) - multiple methods → same obfuscated name, alternatives
  • Outlines (4 tests) - outline callsites, nested outlines, inline-in-outline
  • Synthetic/Lambda (3 tests) - lambda methods, synthetic bridges
  • Source File Edge Cases (7 tests) - colons, unicode, multiple dots, synthesized names
  • Line Number Handling (10 tests) - spans, preambles, invalid ranges, missing lines
  • Exception Handling (6 tests) - obfuscated exceptions, suppressed, circular refs
  • Method Overloading (4 tests) - overloads with/without ranges
  • Mapping Versions (2 tests) - version warnings, multiple versions
  • Special Formats (4 tests) - Java 9+ modules, logcat format, auto-detect
  • Identity/Passthrough (2 tests) - identity mappings
  • Real-World Bot Tests (4 tests) - production stack traces
  • Edge Cases (6 tests) - invalid input, dashes in names, whitespace, field overlap

… sourceFile annotation (#70)

From the test cases in #69 it seems r8-retrace always synthesizes
filenames from class names, so this PR attempts to do the same for
mapper/cache and also updates existing test cases to match the new
behavior (the tests in `r8-inline.rs` should be passing with this
change)
Base automatically changed from rz/feat/rewrite-frames-support-cache to master December 18, 2025 14:15
@romtsn romtsn merged commit 40d6195 into master Dec 19, 2025
8 checks passed
@romtsn romtsn deleted the rz/feat/r8-tests-inline branch December 19, 2025 15:18
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.

3 participants