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

JFileChooser/8021253: java.lang.RuntimeException: Default button is not pressed

XMLWordPrintable

    • b23
    • x86
    • other

        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)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows [Version 10.0.10240]

        A DESCRIPTION OF THE PROBLEM :
        The test javax/swing/JFileChooser/8021253/bug8021253.java fails on Windows because of "java.lang.RuntimeException: Default button is not pressed".
        This issue was not observed on Linux, OSX

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        jtreg -v -a -xml -testjdk:C\:/Program\ Files/Java/jdk1.8.0_112/ -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 javax/swing/JFileChooser


        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        #section:main
        ----------messages:(4/126)----------
        command: main bug8021253
        reason: User specified action: run main bug8021253
        Mode: othervm
        elapsed time (seconds): 36.521
        ----------configuration:(0/0)----------
        ----------System.out:(0/0)----------
        ----------System.err:(13/759)----------
        java.lang.RuntimeException: Default button is not pressed
        at bug8021253.main(bug8021253.java:78)
        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: Default button is not pressed
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Default button is not pressed


        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        The test is from Regression test suite (jtreg)
        http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/8b04ee324a1a/test/javax/swing/JFileChooser/8021253/bug8021253.java
        ---------- END SOURCE ----------

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

                Created:
                Updated:
                Resolved: