RFR: JDK-8307331: Correctly update line maps when class redefine rewrites bytecodes
Andrew Dinn
adinn at openjdk.org
Thu May 4 09:33:14 UTC 2023
This small change ensures that repeated bytecode rewrites necessitated by class pool index updates are applied cumulatively when updating the method line number table. The current code applies each change to the original table which means only the last one is applied (and even then with the wrong adjustment).
-------------
Commit messages:
- JDK-8307331: Correctly update line maps when class redefine rewrites bytecodes
Changes: https://git.openjdk.org/jdk/pull/13795/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13795&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8307331
Stats: 18 lines in 1 file changed: 17 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/13795.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13795/head:pull/13795
PR: https://git.openjdk.org/jdk/pull/13795
More information about the hotspot-runtime-dev
mailing list