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

ItemEvent for selection & deselection of multi select List's item is not correct

XMLWordPrintable

    • x86_64
    • os_x, windows_10

      ADDITIONAL SYSTEM INFORMATION :
      Microsoft Windows [Version 10.0.16299.371]

      Sierra
      Darwin unit 12.6.0 Darwin Kernel Version 12.6.0: Wed Mar 18 16:23:48 PDT 2015; root:xnu-2050.48.19~1/RELEASE_X86_64 x86_64



      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/List/ItemEventTest/ItemEventTest.java fails on Windows and MacOS Sierra with the message "ItemEvent for selection & deselection of multi select List's item is not correct Expected : 01230123 Actual : "
      The issue was not observed on Linux, MacOS HighSierra

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jtreg -testjdk:/cygdrive/c/Program\ Files/Java/jdk-10.0.1 -javaoptions:"-Djava.awt.headless=false" -timeoutFactor:2 test/java/awt/List/ItemEventTest/ItemEventTest.java

      ACTUAL -
      #section:main
      ----------messages:(5/205)----------
      command: main ItemEventTest
      reason: Assumed action based on file name: run main ItemEventTest
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 0.987
      ----------configuration:(3/43)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(15/1198)----------
      java.lang.RuntimeException: ItemEvent for selection & deselection of multi select List's item is not correct Expected : 01230123 Actual :
      at ItemEventTest.performTest(ItemEventTest.java:133)
      at ItemEventTest.testHandleEvent(ItemEventTest.java:88)
      at ItemEventTest.main(ItemEventTest.java:142)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: ItemEvent for selection & deselection of multi select List's item is not correct Expected : 01230123 Actual :
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: ItemEvent for selection & deselection of multi select List's item is not correct Expected : 01230123 Actual :

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/List/ItemEventTest/ItemEventTest.java
      ---------- END SOURCE ----------

      FREQUENCY : always


            achung Alisen Chung
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: