-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2
-
b19
-
x86
-
windows_98
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2066039 | 5.0 | Leif Samuelsson | P2 | Closed | Fixed | tiger |
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
- backported by
-
JDK-2066039 JCK1.4a-runtime api/javax_swing/JFileChooser/descriptions.html#CtorNew
-
- Closed
-
- relates to
-
JDK-4858226 REGRESSION: User can not enter "C:\My Documents" directory using JFileChooser
-
- Closed
-
-
JDK-4806485 The JFileChooser sees a binary file format as a directory
-
- Closed
-