RFR: JDK-8307331: Correctly update line maps when class redefine rewrites bytecodes
Coleen Phillimore
coleenp at openjdk.org
Tue May 9 13:30:35 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).
Sorry I didn't see this in my mail until just now. Wow, good analysis and makes sense. Late second review.
-------------
PR Review: https://git.openjdk.org/jdk/pull/13795#pullrequestreview-1418633927
More information about the serviceability-dev
mailing list