On Tue, 2 Mar 2021 13:54:27 GMT, Alexey Ivanov <aiva...@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