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

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

XMLWordPrintable

    • b23
    • aarch64
    • os_x

      The following test failed in the JDK19 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): 23.353
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(8/569)----------
      imageicon captureRect java.awt.Rectangle[x=875,y=409,width=16,height=16]
      icon captureRect java.awt.Rectangle[x=875,y=409,width=16,height=16]
      [javax.swing.plaf.metal.MetalLookAndFeel] : SUCCESS: icon and imageIcon same.
      imageicon captureRect java.awt.Rectangle[x=876,y=405,width=16,height=16]
      icon captureRect java.awt.Rectangle[x=876,y=405,width=16,height=16]
      imageicon captureRect java.awt.Rectangle[x=882,y=431,width=16,height=16]
      icon captureRect java.awt.Rectangle[x=882,y=431,width=16,height=16]
      [com.apple.laf.AquaLookAndFeel] : SUCCESS: icon and imageIcon same.
      ----------System.err:(14/931)----------
      [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.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:828)

      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/6775)*----------

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

              Created:
              Updated:
              Resolved: