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

javax/swing/JTree/4927934/bug4927934.java: Root should be selected

XMLWordPrintable

      FULL PRODUCT VERSION :
      JDK under test: C:\\Program Files\\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)

      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/JTree/4927934/bug4927934.java fails with the message "Root should be selected"
      This issue was reproduced with JDK9
      This failure was observed on Windows. It has never been observed on Linux, OSX.

      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/JTree


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(4/125)----------
      command: main bug4927934
      reason: User specified action: run main bug4927934
      Mode: othervm
      elapsed time (seconds): 7.547
      ----------configuration:(0/0)----------
      ----------System.out:(4/80)----------
      focusGained
      key 39 pressed
      waiting for selectionChanged...
      Selected row: -1
      ----------System.err:(13/819)----------
      java.lang.RuntimeException: Root should be selected
      at bug4927934.main(bug4927934.java:102)
      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: Root should be selected
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Root should be selected


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/8b04ee324a1a/test/javax/swing/JTree/4927934/bug4927934.java
      ---------- END SOURCE ----------

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

              Created:
              Updated:
              Resolved: