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

WindowsClassicLookAndFeel : MetalComboBoxUI.getbaseLine fails with IllegalArgumentException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • client-libs
    • 32 bit -client -Xmixed -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel

    • b65
    • generic
    • windows

        Test name(s): javax/swing/JComboBox/6632953/bug6632953.java
        JDK tested:9b60
        OS tested:Windows
        Is it a regression? No
        Regression introduced in release/build: N/A
                                        
        Is it platform specific? Yes (Fails for WindowsClassicLookAndFeel)
                               
        The is failure reproduced; Windows
        ----------System.out:(0/0)----------
        ----------System.err:(17/1066)----------
        java.lang.IllegalArgumentException: Width and height must be >= 0
        at java.awt.Component.getBaseline(Component.java:2870)
        at javax.swing.JComponent.getBaseline(JComponent.java:2578)
        at javax.swing.plaf.basic.BasicComboBoxUI.getBaseline(BasicComboBoxUI.java:1024)
        at javax.swing.plaf.metal.MetalComboBoxUI.getBaseline(MetalComboBoxUI.java:162)
        at bug6632953.main(bug6632953.java:38)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:502)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.IllegalArgumentException: Width and height must be >= 0
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.IllegalArgumentException: Width and height must be >= 0

              vdyakov Victor Dyakov
              pchopra Pooja Chopra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: