On Tue, 21 Dec 2021 05:28:17 GMT, Sergey Bylokhov <[email protected]> wrote:

>> I fixed the test as it was pointed out to me.
>
> Now it cannot be compiled due to "unreported exception 
> java.lang.ClassNotFoundException; must be caught or declared to be thrown" 
> from the setLookAndFeel(); Note that the new version still has a race, the 
> invokeLater/setLookAndFeel can be executed later than the code in the 
> showOpenDialog(), so the code in showOpenDialog may use the wrong L&F 
> properties, can we move the showOpenDialog to the EDT as well?

@mrserb Could you please confirm to the above comment and fix?

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

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

Reply via email to