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

javax/swing/JList/6462008/bug6462008.java fails frequently

XMLWordPrintable

      There are a large number of different failures of the javax/swing/JList/6462008/bug6462008.java on Windows, Linux and macOS. Yet there are no failures in CI so far.

      ----------System.out:(0/0)----------
      ----------System.err:(28/1910)----------
      java.lang.reflect.InvocationTargetException
              at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1312)
              at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1287)
              at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1474)
              at bug6462008.checkSelectionAL(bug6462008.java:378)
              at bug6462008.testListSelection(bug6462008.java:135)
              at bug6462008.main(bug6462008.java:69)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
              at java.base/java.lang.reflect.Method.invoke(Method.java:565)
              at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
              at java.base/java.lang.Thread.run(Thread.java:1447)
      Caused by: java.lang.RuntimeException: 0 is supposed to be selected
              at bug6462008.checkSelectionNonThreadSafe(bug6462008.java:416)
              at bug6462008$8.run(bug6462008.java:382)
              at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
              at …


      The error message differs between failures:

      Caused by: java.lang.RuntimeException: anchor is 1, should be 0
              at bug6462008.checkSelectionNonThreadSafe(bug6462008.java:394)
              at bug6462008$8.run(bug6462008.java:382)

      Caused by: java.lang.RuntimeException: anchor is -1, should be 4
              at bug6462008.checkSelectionNonThreadSafe(bug6462008.java:394)
              at bug6462008$8.run(bug6462008.java:382)

      Caused by: java.lang.RuntimeException: anchor is -1, should be 0
              at bug6462008.checkSelectionNonThreadSafe(bug6462008.java:394)
              at bug6462008$8.run(bug6462008.java:382)

      Caused by: java.lang.RuntimeException: 0 is supposed to be selected
              at bug6462008.checkSelectionNonThreadSafe(bug6462008.java:416)
              at bug6462008$8.run(bug6462008.java:382)

      The above failures are observed in 21u, 25 (mainline)…

            Unassigned Unassigned
            vakulova Vera Akulova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: