On Thu, 4 May 2023 09:26:33 GMT, Andrew Dinn <ad...@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).

This pull request has now been integrated.

Changeset: f94f9577
Author:    Andrew Dinn <ad...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/f94f957734355fe112e861d1f2f0b49df20f6b66
Stats:     18 lines in 1 file changed: 17 ins; 0 del; 1 mod

8307331: Correctly update line maps when class redefine rewrites bytecodes

Reviewed-by: sspitsyn

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

PR: https://git.openjdk.org/jdk/pull/13795

Reply via email to