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

Test javax/swing/GraphicsConfigNotifier/StalePreferredSize.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • client-libs
    • None

      Test javax/swing/GraphicsConfigNotifier/StalePreferredSize.java on Ubuntu 18.04 LTS with following message


      LookAndFeel: javax.swing.plaf.metal.MetalLookAndFeel
      typeFont = 0
      text = <html><span>A few words to get started before the bug</span><span>overlapping text</span></html>
      text = <html>A quick brown fox jumps over the lazy dog</html>
      text = <html>El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja</html>
      text = <html>Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis</html>
      text = <html>\ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c</html>
      text = <html>\u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e</html>
      text = <span>A few words to get started before the bug</span><span>overlapping text</span>
      text = A quick brown fox jumps over the lazy dog
      text = El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja
      text = Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis
      text = \ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c
      text = \u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e
      typeFont = 1
      text = <html><span>A few words to get started before the bug</span><span>overlapping text</span></html>
      text = <html>A quick brown fox jumps over the lazy dog</html>
      text = <html>El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja</html>
      text = <html>Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis</html>
      text = <html>\ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c</html>
      text = <html>\u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e</html>
      text = <span>A few words to get started before the bug</span><span>overlapping text</span>
      text = A quick brown fox jumps over the lazy dog
      text = El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja
      text = Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis
      text = \ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c
      text = \u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e
      typeFont = 2
      text = <html><span>A few words to get started before the bug</span><span>overlapping text</span></html>
      text = <html>A quick brown fox jumps over the lazy dog</html>
      text = <html>El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja</html>
      text = <html>Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis</html>
      text = <html>\ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c</html>
      text = <html>\u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e</html>
      text = <span>A few words to get started before the bug</span><span>overlapping text</span>
      text = A quick brown fox jumps over the lazy dog
      text = El veloz murci\u00e9lago hind\u00fa com\u00eda feliz cardillo y kiwi. La cig\u00fce\u00f1a tocaba el saxof\u00f3n detr\u00e1s del palenque de paja
      text = Voix ambigu\u00eb d\u2019un c\u0153ur qui au z\u00e9phyr pr\u00e9f\u00e8re les jattes de kiwis
      text = \ub2e4\ub78c\uc950 \ud5cc \uccc7\ubc14\ud034\uc5d0 \ud0c0\uace0\ud30c
      text = \u0421\u044a\u0435\u0448\u044c \u0435\u0449\u0451 \u044d\u0442\u0438\u0445 \u043c\u044f\u0433\u043a\u0438\u0445 \u0444\u0440\u0430\u043d\u0446\u0443\u0437\u0441\u043a\u0438\u0445 \u0431\u0443\u043b\u043e\u043a \u0434\u0430 \u0432\u044b\u043f\u0435\u0439 \u0436\u0435 \u0447\u0430\u044e
      LookAndFeel: javax.swing.plaf.nimbus.NimbusLookAndFeel
      typeFont = 0
      text = <html><span>A few words to get started before the bug</span><span>overlapping text</span></html>
      text = <html>A quick brown fox jumps over the lazy dog</html>
      Component: javax.swing.JButton[,0,0,286x27,invalid,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.synth.SynthBorder@79ba2871,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=<html>A quick brown fox jumps over the lazy dog</html>,defaultCapable=true]
      Before: java.awt.Dimension[width=258,height=15]
      After: java.awt.Dimension[width=286,height=27]
      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 StalePreferredSize.checkComponent(StalePreferredSize.java:169)
      at StalePreferredSize.test(StalePreferredSize.java:140)
      at StalePreferredSize.main(StalePreferredSize.java:98)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      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:835)
      Caused by: java.lang.RuntimeException: Wrong PreferredSize
      at StalePreferredSize.lambda$checkComponent$18(StalePreferredSize.java:188)
      at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
      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(Native Method)
      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)

      JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException

            Unassigned Unassigned
            pbansal Pankaj Bansal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: