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

Andrew Dinn adinn at openjdk.org
Fri May 5 07:53:25 UTC 2023


On Fri, 5 May 2023 03:33:51 GMT, Serguei Spitsyn <sspitsyn 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

@sspitsyn Thanks for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/13795#issuecomment-1535868649


More information about the serviceability-dev mailing list