-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b28
-
generic
-
generic
-
Verified
Name: iaR10016 Date: 08/22/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b15
(passes with JDK1.5.0-b14, JDK1.4.2-b28)
JCK : JCK1.5-runtime (b02)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/javax_swing/plaf/metal/MetalFileChooserUI/SingleClickListener/index.html#Ctor [SingleClickListener0001]
api/javax_swing/plaf/metal/MetalFileChooserUI/SingleClickListener/index.html#Handler [SingleClickListener0002]
Two JCK1.5-runtime api/javax_swing/plaf/metal/MetalFileChooserUI/SingleClickListener
tests fail with JDK1.5.0-b15 with java.lang.NoSuchMethodError.
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/javax_swing/plaf/metal/MetalFileChooserUI/SingleClickListener/CtorTests.java
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/javax_swing/plaf/metal/MetalFileChooserUI/SingleClickListener/HandlerTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/javax_swing/plaf/metal/MetalFileChooserUI/SingleClickListener/index_Ctor.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/javax_swing/plaf/metal/MetalFileChooserUI/SingleClickListener/index_Handler.jtr
How to reproduce:
=================
Run the following script (you may need to change it's variables):
--- script start ---
#!/bin/bash
JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc"
#JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
#JDK="/net/linux-15/export/home/java/jdk1.5.0/linux"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java -showversion javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener.CtorTests -TestCaseID SingleClickListener0001
echo "-----------------------------------------------------------------------------"
$JDK/bin/java javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener.HandlerTests -TestCaseID SingleClickListener0002
--- script end ---
Test output:
============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b15)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b15, mixed mode)
java.lang.NoSuchMethodError: javax.swing.plaf.metal.MetalFileChooserUI$SingleClickListener.<init>(Ljavax/swing/plaf/metal/MetalFileChooserUI;Ljavax/swing/JList;)V
at javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener.StubMetFCUI$StubSCL.<init>(CtorTests.java:62)
at javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener.CtorTests.SingleClickListener0001(CtorTests.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.jck.lib.PlafTest.invokeTestCase(PlafTest.java:93)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener.CtorTests.main(CtorTests.java:27)
SingleClickListener0001: Failed. Test case throws exception: java.lang.NoSuchMethodError:
javax.swing.plaf.metal.MetalFileChooserUI$SingleClickListener.<init>(Ljavax/swing/plaf/metal/MetalFileChooserUI;Ljavax/swing/JList;)V
====== SingleClickListener0001 ====== public MetalFileChooserUI.SingleClickListener(JList list)
STATUS:Failed.test cases: 1; all failed; first test case failure: SingleClickListener0001
-----------------------------------------------------------------------------
java.lang.NoSuchMethodError: javax.swing.plaf.metal.MetalFileChooserUI$SingleClickListener.<init>(Ljavax/swing/plaf/metal/MetalFileChooserUI;Ljavax/swing/JList;)V
at javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener.StubMetFCUI1$StubSCL.<init>(HandlerTests.java:67)
at javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener.HandlerTests.SingleClickListener0002(HandlerTests.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.jck.lib.PlafTest.invokeTestCase(PlafTest.java:93)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.SingleClickListener.HandlerTests.main(HandlerTests.java:32)
SingleClickListener0002: Failed. Test case throws exception: java.lang.NoSuchMethodError:
javax.swing.plaf.metal.MetalFileChooserUI$SingleClickListener.<init>(Ljavax/swing/plaf/metal/MetalFileChooserUI;Ljavax/swing/JList;)V
====== SingleClickListener0002 ====== public void mouseClicked(MouseEvent e)
STATUS:Failed.test cases: 1; all failed; first test case failure: SingleClickListener0002
Specific machine info:
======================
Hostname: linux-19
OS: Windows 2003
Hostname: linux-2
OS: Suse Linux 8.2 (GNOME2)
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
======================================================================