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

JCK1.4a-runtime api/javax_swing/JFileChooser/descriptions.html#CtorNew

XMLWordPrintable

    • b19
    • x86
    • windows_98
    • Verified



        Name: kaR10181 Date: 03/05/2003


        Filed By : J2SE-SQA [###@###.###
        JDK : JDK1.4.2-b17
        JCK : JCK1.4a-runtime
        Platform[s] : Windows 98
        switch/Mode : generic
        JCK test owner : http://javaweb.eng/jck/usr/owners.jto
        Falling test[s]:
                 api/javax_swing/JFileChooser/descriptions.html#CtorNew
                 api/javax_swing/JFileChooser/descriptions.html#news2

        2 JCK1.4a-runtime tests fail on JDK1.4.2-b17. The bug is not reproducible on JDK1.4.2-b16.

        Test source location:
        =====================
        /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/javax_swing/JFileChooser/Ctor
        NewTests.java
        /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/javax_swing/JFileChooser/news
        2Tests.java

        jtr file location:
        ==================
        /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b17/jck14a/win32/win98_client_incgc_linux-17/w
        orkDir/api/javax_swing/JFileChooser/descriptions_CtorNew.jtr
        /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b17/jck14a/win32/win98_client_incgc_linux-17/w
        orkDir/api/javax_swing/JFileChooser/descriptions_news2.jtr

        How to reproduce:
        =================
        Run the following script (you may need to change its variables)

        --- script start ---
        #!/bin/bash

        JCK="h:/java/jck1.4a/JCK-runtime-14a"
        JDK="h:/java/jdk1.4.2/win32"
        switches="-Xfuture"
        CLASSPATH="$JCK/classes;$JCK/lib/javatest.jar"

        $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.swing.JFileChooser.CtorNewTests -TestURL file:///$JCK/tests/api/javax_swing/JFileChooser/descriptions.html#CtorNew -TestWorkDirURL file:///C:/tmp -TestCaseID JFileChooser2074 JFileChooser2075 JFileChooser2076 JFileChooser2077
        JFileChooser2078

        --- script end ---

        Test output:
        ============

        JFileChooser2074: Failed. Failed to create JFileChooser object
        JFileChooser2075: Failed. Failed to create JFileChooser object
        JFileChooser2076: Failed. Failed to create JFileChooser object
        JFileChooser2077: Failed. Failed to create JFileChooser object
        JFileChooser2078: Failed. Failed to create JFileChooser object
        STATUS:Failed.test cases: 5; all failed; first test case failure: JFileChooser2074
        result: Failed. test cases: 5; all failed; first test case failure: JFileChooser2074

        Specific machine info:
        ======================
        Hostname: linux-17
        OS: Windows 98


        ======================================================================

        This bug can be reproduced with any app using JFileChooser on
        Windows 98, such as FileChooserDemo or SwingSet2.

        Open JFileChooser in any L&F and notice first that the current
        directory is not "My Documents" as it should be. Try to double-click
        on "My Documents" on the Desktop and notice how the file chooser
        returns it as a file instead of showing its contents.

        ###@###.### 2003-03-06

              leifs Leif Samuelsson (Inactive)
              akmsunw Akm Akm (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: