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

[macos] javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java still fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • None
    • client-libs

      This test was updated and de-problem listed
      https://bugs.openjdk.java.net/browse/JDK-8284888
      https://git.openjdk.java.net/jdk/pull/8380
      However it still can fail - failure seen on an M1 24" imac running macOS 11.5.2


      ----------System.out:(9/653)----------
      imageicon captureRect java.awt.Rectangle[x=875,y=381,width=16,height=16]
      icon captureRect java.awt.Rectangle[x=875,y=381,width=16,height=16]
      [javax.swing.plaf.metal.MetalLookAndFeel] : SUCCESS: icon and imageIcon same.
      imageicon captureRect java.awt.Rectangle[x=876,y=377,width=16,height=16]
      icon captureRect java.awt.Rectangle[x=876,y=377,width=16,height=16]
      [javax.swing.plaf.nimbus.NimbusLookAndFeel] : ERROR: icon and imageIcon not same.
      imageicon captureRect java.awt.Rectangle[x=882,y=403,width=476,height=27]
      icon captureRect java.awt.Rectangle[x=882,y=403,width=476,height=27]
      [com.apple.laf.AquaLookAndFeel] : SUCCESS: icon and imageIcon same.
      ----------System.err:(13/850)----------
      java.lang.RuntimeException: Error Log:
      [javax.swing.plaf.nimbus.NimbusLookAndFeel] : ERROR: icon and imageIcon not same.
      at JInternalFrameIconTest.main(JInternalFrameIconTest.java:70)
      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:1585)

      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.

            psadhukhan Prasanta Sadhukhan
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: