<Swing Dev> RFR: 8269269: [macos11] SystemIconTest fails with ClassCastException

Jayathirth D V jdv at openjdk.java.net
Thu Jul 15 07:59:10 UTC 2021


On Wed, 14 Jul 2021 11:13:31 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Do not test situation where UIResource icon is returned
> Added a whole bunch of debug information to see what file test is filed
> upon.

test/jdk/javax/swing/JFileChooser/FileSystemView/SystemIconTest.java line 85:

> 83:                 // Default UI resource icon returned - it is not covered
> 84:                 // by new implementation so we can not test it
> 85:                 continue;

I see that we are hitting this condition for all sizes on my 10.15.7 mac. Basically making testSystemIcon() to not run in my Mac. Do we have any other use case where we dont hit this condition in Mac or non-Windows platform?

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

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


More information about the swing-dev mailing list