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

bug7072653.java still failed "Popup window height ... is wrong"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: client-libs
    • Subcomponent:
    • Resolved In Build:
      b17
    • CPU:
      x86_64
    • OS:
      os_x_10.15

      Description

      The following test failed in the JDK16 CI:

      javax/swing/plaf/basic/BasicComboPopup/7072653/bug7072653.java

      Here's a snippet from the log file:

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

      ----------System.out:(0/0)----------
      ----------System.err:(48/3548)----------
      java.lang.reflect.InvocationTargetException
      at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
      at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
      at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
      at bug7072653.executeCase(bug7072653.java:74)
      at bug7072653.main(bug7072653.java:65)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Popup window height For LookAndFeeljavax.swing.plaf.metal.MetalLookAndFeel is wrong
      Should be 978, Actually 977
      at bug7072653.lambda$executeCase$0(bug7072653.java:79)
      at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:306)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
      at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
      Caused by: java.lang.RuntimeException: Popup window height For LookAndFeeljavax.swing.plaf.metal.MetalLookAndFeel is wrong
      Should be 978, Actually 977
      at bug7072653$2.popupMenuWillBecomeInvisible(bug7072653.java:142)
      at java.desktop/javax.swing.JComboBox.firePopupMenuWillBecomeInvisible(JComboBox.java:982)
      at java.desktop/javax.swing.plaf.basic.BasicComboPopup.firePopupMenuWillBecomeInvisible(BasicComboPopup.java:397)
      at java.desktop/javax.swing.JPopupMenu.setVisible(JPopupMenu.java:788)
      at java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1489)
      at java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:128)
      at java.desktop/javax.swing.MenuSelectionManager.clearSelectedPath(MenuSelectionManager.java:160)
      at java.desktop/javax.swing.plaf.basic.BasicComboPopup.hide(BasicComboPopup.java:248)
      at java.desktop/javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:919)
      at java.desktop/javax.swing.JComboBox.setPopupVisible(JComboBox.java:818)
      at bug7072653.test(bug7072653.java:155)
      at bug7072653.lambda$executeCase$0(bug7072653.java:77)
      ... 13 more

      JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException
      ----------rerun:(42/5939)*----------


      This failure mode matches the following bug:

          JDK-8253130 bug7072653.java failed "Popup window height ... is wrong"

      The fix for JDK-8253130 was integrated in jdk-16+16-712,
      but the test still fails in the same way in jdk-16+17-715.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              serb Sergey Bylokhov
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: