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

java/awt/List/FirstItemRemoveTest/FirstItemRemoveTest.html list.getSelectedIndex() = -1

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.8.0_51"
      Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
      Java HotSpot(TM) Client VM (build 25.51-b03, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/List/FirstItemRemoveTest/FirstItemRemoveTest.html fails on Windows because list.getSelectedIndex() = -1
      This issue was not observed on Linux, OSX


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:applet
      ----------messages:(3/142)----------
      command: applet FirstItemRemoveTest.html
      reason: User specified action: run applet FirstItemRemoveTest.html
      elapsed time (seconds): 7.904
      ----------System.out:(0/0)----------
      ----------System.err:(6/443)----------
      java.lang.RuntimeException: Test failed. list.getSelectedIndex() = -1
              at FirstItemRemoveTest.test(FirstItemRemoveTest.java:114)
              at FirstItemRemoveTest.start(FirstItemRemoveTest.java:63)
              at com.sun.javatest.regtest.agent.AppletWrapper$AppletRunnable.run(AppletWrapper.java:158)
              at java.lang.Thread.run(Thread.java:745)
      STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Test failed. list.getSelectedIndex() = -1

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      The test is from Regression test suite (jtreg)
      http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/f7be58eb30bc/test/java/awt/List/FirstItemRemoveTest
      ---------- END SOURCE ----------

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: