On Wed, 22 Apr 2026 19:33:35 GMT, Alexander Zuev <[email protected]> wrote:

> > although properly you should do what I wrote above and invoke closeAll on 
> > every loop
> 
> Ok, i did just that - added closeAll to every loop in addition to the 
> `finally` clause - just to be sure that if unhandled exception happens we 
> will close all windows regardless.

What about my comment that
"Although it also seems that the variables should be nulled out after being 
disposed and probably should be 'volatiie'" ?

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

PR Comment: https://git.openjdk.org/jdk/pull/30729#issuecomment-4299430586

Reply via email to