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

Chris Plummer cjplummer at openjdk.org
Thu May 4 19:27:16 UTC 2023


On Thu, 4 May 2023 17:17:19 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).
>
> @coleenp @plummercj Any chance of feedback or a review for this patch?

@adinn This is not code I'm at all familiar with. Perhaps @sspitsyn can help.

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

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


More information about the serviceability-dev mailing list