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

javax/swing/JSpinner/4973721/bug4973721.java Up arrow key button doesn't work for a spinner in Synth L&F

XMLWordPrintable

    • x86
    • linux, windows

      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)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 10.0.14393]

      A DESCRIPTION OF THE PROBLEM :
      The test javax/swing/JSpinner/4973721/bug4973721.java fails with the message "Up arrow key button doesn't work for a spinner in Synth L&F" on Windows and Linux.
      This test passes in standalone mode but fails if it is executed after the test javax/swing/JSlider/6848475/bug6848475.java as it happens in regular runs.
      The issue was observed on Linux and Windows with Java8. It has never been observed on OSX.
      It could not be reproduced with Java9 since the test javax/swing/JSlider/6848475/bug6848475.java fails because of java.lang.reflect.InvocationTargetException

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      jtreg -v -a -xml -testjdk:C:/Java/jdk1.8.0_112 -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 test/javax/swing/JSlider/6848475/bug6848475.java test/javax/swing/JSpinner/4973721/bug4973721.java


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(4/125)----------
      command: main bug4973721
      reason: User specified action: run main bug4973721
      Mode: othervm
      elapsed time (seconds): 1.688
      ----------configuration:(0/0)----------
      ----------System.out:(2/37)----------
      waiting focusGained...
      focusGained
      ----------System.err:(13/850)----------
      java.lang.RuntimeException: Up arrow key button doesn't work for a spinner in Synth L&F
      at bug4973721.main(bug4973721.java:107)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Up arrow key button doesn't work for a spinner in Synth L&F
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Up arrow key button doesn't work for a spinner in Synth L&F


      REPRODUCIBILITY :
      This bug can be reproduced always.

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

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

              Created:
              Updated:
              Resolved: