<Swing Dev> RFR: 8261689: javax/swing/JComponent/7154030/bug7154030.java still fails with "Exception: Failed to hide opaque button" [v2]

Alexey Ivanov aivanov at openjdk.java.net
Tue Mar 2 23:24:45 UTC 2021


On Tue, 2 Mar 2021 13:54:27 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> Should `frame` be declared as `volatile`? It's accessed on main thread in finally block.
> In addition to it, `frame.getBounds()` and `frame.getInsets()` are called on main thread instead of EDT.

I couldn't link this comment to the code because GitHub does not allow adding comments to unmodified lines. Do I understand correctly that you're for leaving it as is?

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

PR: https://git.openjdk.java.net/jdk/pull/2790


More information about the swing-dev mailing list