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

javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java failed with "ERROR: icon and imageIcon not same."

XMLWordPrintable

    • b23
    • x86_64
    • linux

      The following test failed in the JDK17 CI:

      javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/207)----------
      command: main JInternalFrameIconTest
      reason: User specified action: run main JInternalFrameIconTest
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 15.708
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(1/78)----------
      [javax.swing.plaf.metal.MetalLookAndFeel] : SUCCESS: icon and imageIcon same.
      ----------System.err:(16/1118)----------
      [javax.swing.plaf.nimbus.NimbusLookAndFeel] : ERROR: icon and imageIcon not same.
      java.lang.RuntimeException: Error Log:
      [javax.swing.plaf.nimbus.NimbusLookAndFeel] : ERROR: icon and imageIcon not same.
      at JInternalFrameIconTest.main(JInternalFrameIconTest.java:72)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Error Log:
      [javax.swing.plaf.nimbus.NimbusLookAndFeel] : ERROR: icon and imageIcon not same.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Error Log: [javax.swing.plaf.nimbus.NimbusLookAndFeel] : ERROR: icon and imageIcon not same.
      ----------rerun:(42/6570)*----------


      This failure mode appears to match:

      JDK-8225045 javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java fails on linux-x64

      which was fixed on 2021.01.13. This failure happened
      on 2021.01.23 with a later build-ID.

            psadhukhan Prasanta Sadhukhan
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: