RFR: 8277463: JFileChooser with Metal L&F doesn't show non-canonical UNC path in - Look in [v3]

Masanori Yano myano at openjdk.java.net
Wed Jan 5 09:58:08 UTC 2022


On Tue, 21 Dec 2021 05:28:17 GMT, Sergey Bylokhov <serb at openjdk.org> 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



More information about the client-libs-dev mailing list