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

javax/swing/JSlider/6348946/bug6348946.java: The thumb moved to the right instead of the left!

XMLWordPrintable

      FULL PRODUCT VERSION :
      JDK under test: C:\\Java\\jdk1.8.0_112
      java version "1.8.0_112"
      Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)

      JDK under test: C:\\Java\\jdk-9
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+148)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+148, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 10.0.14393]

      A DESCRIPTION OF THE PROBLEM :
      The test javax/swing/JSlider/6348946/bug6348946.java fails with the message "The thumb moved to the right instead of the left!" on Windows with both Java 8 and 9. This issue was not observed on Linux, OSX.
      The test passes in standalone mode but fails in the group javax/swing/JScrollPane + javax/swing/JSlider.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      jtreg -v -a -xml -testjdk:C:/Java/jdk-9 -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 test/javax/swing/JScrollPane test/javax/swing/JSlider


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(4/137)----------
      command: main bug6348946
      reason: Assumed action based on file name: run main bug6348946
      Mode: othervm
      elapsed time (seconds): 0.983
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(14/944)----------
      java.lang.RuntimeException: The thumb moved to the right instead of the left!
      at bug6348946.checkResult(bug6348946.java:98)
      at bug6348946.main(bug6348946.java:64)
      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:538)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: The thumb moved to the right instead of the left!
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: The thumb moved to the right instead of the left!

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/0e4fc29a5ce4/test/javax/swing/JSlider/6348946/bug6348946.java
      ---------- END SOURCE ----------

            psadhukhan Prasanta Sadhukhan
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: