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

Thread race occur with the test/closed/java/awt/ScrollPane/RemoveChild/ScrollPaneRemoveAdd.html

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7
    • client-libs
    • None
    • generic
    • linux

      The test/closed/java/awt/ScrollPane/RemoveChild/ScrollPaneRemoveAdd.html fails sometimes. Appr. once per 5 times.

      I'm using JDK7 ~b58 on Fedora9 linux.
      Here is the output:
      <dav@awt-linux-03(pts/1).372> .../jdk/build/linux-i586/bin/appletviewer ScrollPaneRemoveAdd.html
      java.lang.RuntimeException: ScrollPane doesn't handle correctly add after remove
              at ScrollPaneRemoveAdd.start(ScrollPaneRemoveAdd.java:90)
              at sun.applet.AppletPanel.run(AppletPanel.java:474)
              at java.lang.Thread.run(Thread.java:717

            dav Andrei Dmitriev (Inactive)
            dav Andrei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: