RFR: JDK-8307331: Correctly update line maps when class redefine rewrites bytecodes

Serguei Spitsyn sspitsyn at openjdk.org
Fri May 5 03:36:16 UTC 2023


On Thu, 4 May 2023 09:26:33 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

> 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).

Looks good.
Thank you for taking care about it!
Thanks,
Serguei

-------------

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13795#pullrequestreview-1414138368


More information about the serviceability-dev mailing list