On Mon, 7 Sep 2026 08:30:04 GMT, Alan Bateman <[email protected]> wrote:
> Can you try changing Statement.addTarget to return a boolean to indicate if > the target was added? That would avoid introduce another set for the targets. Thanks for the suggestion. I’ve updated Statement.addTarget to return the result of targets.add, so the additional set is no longer needed. I also checked the other addTarget call sites. None of them relies on the return value, so they are unaffected by this change. ------------- PR Comment: https://git.openjdk.org/jdk/pull/32698#issuecomment-5581045233
