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

Fix javax/swing/text/ParagraphView/6364882/bug6364882.java failures

    XMLWordPrintable

    Details

      Description

      javax/swing/text/ParagraphView/6364882/bug6364882.java was observed failing on our non-GUI platforms.

      The OS is tlinux which is developed and widely used in our company.

      STDERR:
      java.lang.reflect.InvocationTargetException
              at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1371)
              at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1346)
              at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
              at bug6364882.main(bug6364882.java:83)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:568)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
              at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: java.lang.AssertionError: paragraph doesn't have 6 rows of text
              at bug6364882.checkJustification(bug6364882.java:137)
              at bug6364882.lambda$main$0(bug6364882.java:87)
              at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
              at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
              at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
              at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
              at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
              at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
              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)

      This test passed on our GUI platforms but failed without GUI.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aivanov Alexey Ivanov
              Reporter:
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: