Name: erR10175 Date: 07/18/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b28
JCK : JCK1.4a-runtime
Platform[s] : SuSE SLES 8
switch/Mode : -server -Xmixed -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/javax_swing/JFileChooser/descriptions.html#CtorNew [JFileChooser2075, JFileChooser2076, JFileChooser2077, JFileChooser2078]
JCK1.4a-runtime api/javax_swing/JFileChooser/descriptions.html#CtorNew test fails on JDK1.4.2-b28
Test source location:
=====================
/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/javax_swing/JFileChooser/CtorNewTests.java
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
JCK="/net/jtgb4u4c/export/sail11/JCK/jck14a/JCK-runtime-14a"
JDK="/net/jtgb4u4c.sfbay/export/sail16/JDK/1.4.2-b28/linux-i586"
WORKDIR=`pwd`
switches="-server -Xmixed -Xfuture"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
LD_LIBRARY_PATH=/net/jtgb4u4c/export/sail16/JCK/jck14a/JCK-runtime-14a/lib/Linux-i386 DISPLAY=brain:0.0 HOME=/home/er145178 $JDK/bin/java $switches -classpath $CLASSPATH -Djava.security.policy=$JCK/lib/jck.policy javasoft.sqe.tests.api.javax.swing.JFileChooser.CtorNewTests -TestURL file://$JCK/tests/api/javax_swing/JFileChooser/descriptions.html#CtorNew -TestWorkDirURL file://$WORKDIR
--- script end ---
The script above produces the following output:
-------------------------------------------------------------------
JFileChooser2074: Passed. OKAY
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
====== JFileChooser2074 ====== public JFileChooser()
====== JFileChooser2075 ====== public JFileChooser(java.io.File param1)
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@1b06041,flags=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/jtgb4u4c/root/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/JFileChooser,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
Current directory: /.automount/jtgb4u4c/root/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/JFileChooser
====== JFileChooser2076 ====== public JFileChooser(java.lang.String param1)
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@fb6354,flags=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/jtgb4u4c/root/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/JFileChooser,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
Current directory: /.automount/jtgb4u4c/root/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/JFileChooser
====== JFileChooser2077 ====== public JFileChooser(java.io.File param1,javax.swing.filechooser.FileSystemView param2)
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@e35bb7,flags=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/jtgb4u4c/root/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/JFileChooser,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
Current directory: /.automount/jtgb4u4c/root/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/JFileChooser
Current FileView: javax.swing.filechooser.UnixFileSystemView@9a8a68
====== JFileChooser2078 ====== public JFileChooser(java.lang.String param1,javax.swing.filechooser.FileSystemView param2)
Object:javax.swing.JFileChooser[,0,0,0x0,invalid,layout=java.awt.BorderLayout,alignmentX=null,alignmentY=null,border=javax.swing.border.EmptyBorder@cf829d,flags=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/.automount/jtgb4u4c/root/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/JFileChooser,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
Current directory: /.automount/jtgb4u4c/root/export/sail11/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/JFileChooser
Current FileView: javax.swing.filechooser.UnixFileSystemView@9a8a68
STATUS:Failed.test cases: 5; passed: 1; failed: 4; first test case failure: JFileChooser2075
-------------------------------------------------------------------
Specific machine info:
======================
Hostname: brain
OS: SuSE SLES 8
======================================================================