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

java/awt/image/multiresolution/MultiresolutionIconTest.java fails with "JLabel icon: nok"

    XMLWordPrintable

Details

    • x86_64
    • linux, windows

    Description

      The following test failed in the JDK20 CI:

      java/awt/image/multiresolution/MultiresolutionIconTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/295)----------
      command: main -Dsun.java2d.uiScale=2 MultiresolutionIconTest
      reason: User specified action: run main/othervm/timeout=240 -Dsun.java2d.uiScale=2 MultiresolutionIconTest
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 9.416
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(8/131)----------

      L&F: Metal
      JLabel icon: nok
      JCheckBox icon: ok
      JRadioButton icon: ok
      JToggleButton icon: ok
      JButton icon: ok
      JTabbedPane icon: ok
      ----------System.err:(12/679)----------
      java.lang.RuntimeException: test failed
      at MultiresolutionIconTest.doTest(MultiresolutionIconTest.java:211)
      at MultiresolutionIconTest.main(MultiresolutionIconTest.java:225)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1589)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: test failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: test failed
      ----------rerun:(43/6157)*----------

      This failure happened in jdk-20+10-535-tier4 and the fix for the
      following bug:

      JDK-8169187 [macosx] Aqua:
      java/awt/image/multiresolution/MultiresolutionIconTest.java

      was integrated in jdk-20+10-523. The fix for JDK-8169187 is
      for a macOSX bug, but the ProblemList update also removed the
      entries for non-macOSX platforms:

      -java/awt/image/multiresolution/MultiresolutionIconTest.java 8169187,8252812 macosx-all,windows-all,linux-x64

      I'm not sure why that was done.

      Attachments

        Issue Links

          Activity

            People

              achung Alisen Chung
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: