Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8269269

[macos11] SystemIconTest fails with ClassCastException

XMLWordPrintable

    • 17
    • b07
    • generic
    • os_x

        Testsuite: Regression
        Test name: open/test/jdk/javax/swing/JFileChooser/FileSystemView/SystemIconTest.java
        Product(s) tested: JDK 17 b26
        OS/architecture:MacOS 11.2.3 aarch 64 /MacOS 11 with Intel Processor

        Error when test case executed with JDK17b26
        java.lang.ClassCastException: class javax.swing.plaf.IconUIResource cannot be cast to class javax.swing.ImageIcon (javax.swing.plaf.IconUIResource and javax.swing.ImageIcon are in module java.desktop of loader 'bootstrap')
        at SystemIconTest.testSystemIcon(SystemIconTest.java:76)



              kizune Alexander Zuev
              amrsahu Amresh Sahu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: