RFR: 8280818: Expand bug8033699.java to iterate over all LaFs

Alexey Ivanov aivanov at openjdk.org
Wed Mar 12 17:59:58 UTC 2025


On Wed, 12 Mar 2025 17:44:14 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> Assigning `mainFrame = null` is not required since we are disposing the frame at this point.

It's required here, because the loop is repeated, and setting `mainFrame` to `null` prevents access to a disposed frame… likely from disposing of the frame again.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23964#discussion_r1992025095


More information about the client-libs-dev mailing list