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

javax/swing/JTree/4908142/bug4908142.java The selected index should be "aad"

XMLWordPrintable

    • b27
    • generic
    • windows

        FULL PRODUCT VERSION :
        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)

        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/JTree/4908142/bug4908142.java fails with the following output "The selected index should be "aad", but not aaa"
        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/jdk-9 -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 test/javax/swing/JTree


        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        #section:main
        ----------messages:(4/125)----------
        command: main bug4908142
        reason: User specified action: run main bug4908142
        Mode: othervm
        elapsed time (seconds): 1.118
        ----------configuration:(0/0)----------
        ----------System.out:(0/0)----------
        ----------System.err:(13/780)----------
        java.lang.Error: The selected index should be "aad", but not aaa
        at bug4908142.main(bug4908142.java:89)
        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.Error: The selected index should be "aad", but not aaa
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.Error: The selected index should be "aad", but not aaa

        REPRODUCIBILITY :
        This bug can be reproduced always.

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

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

                Created:
                Updated:
                Resolved: