JDK-4873770 : REGRESSION: JCK1.4a-runtime api/java_awt/Component/descriptions.html#Listener fa
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux,solaris_8
  • CPU: x86,sparc
  • Submitted: 2003-06-04
  • Updated: 2003-06-04
  • Resolved: 2003-06-04
Related Reports
Duplicate :  
Description

Name: mmR10223			Date: 06/03/2003


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.5.0-b07 (passes on JDK1.5.0-b06, JDK1.4.2-b24, JDK1.4.1-b21)
JCK            : JCK1.4a-runtime
Platform[s]    : all
switch/Mode    : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: 
        api/java_awt/Component/descriptions.html#Listener [Component2125]


Test source location:
=====================
/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/Component/ListenerTests.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b07/jck14a/x86/s8_incgc_debug_linux-10/workDir/api/java_awt/Component/descriptions_Listener.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables)
 
--- script start ---
#!/bin/bash

JCK="/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a"
JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/linux-i586"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
 
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.awt.Component.ListenerTests -TestCaseID Component2125

--- script end ---

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

Component2125: Failed. Component2125 failed: 1
====== Component2125 ======
STATUS:Failed.test cases: 1; all failed; first test case failure: Component2125


Specific machine info:
======================
Hostname: linux-10
OS: Solaris 8 (x86)
Hostname: linux-19
OS: Linux RedHat 7.3


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

Comments
EVALUATION The path to the .jtr file in the Description is incorrect. I found what I think is the correct file at: file:///net/jtgb4u4c.sfbay/export/sail15/results/tiger/b07/jck14a/i386/s8_incgc_debug_linux-10/workDir/api/java_awt/Component/descriptions_Listener.jtr Based on the contents of test 2125, this looks like a duplicate of 4871899. /** * Assertion testing * for public void addPropertyChangeListener(PropertyChangeListener l), * check for component does not PropertyChangeEvent in response to an explicit setName. */ public Status Component2125() { String testCaseID = "Component2125"; ref.println("====== "+testCaseID+" ======"); ChildComponent chcomponent = new ChildComponent(); DummyPropChangeListener cl = new DummyPropChangeListener(); chcomponent.addPropertyChangeListener(cl); String oldname = chcomponent.getName(); String newname = oldname + "new name"; chcomponent.setName(newname); if (!(!cl.change && !cl.changetwice)) { return Status.failed(testCaseID + " failed: 1"); } return Status.passed("OKAY"); } } AWT did not integrate into build 7 - the only GUI group that did is Swing. ###@###.### 2003-06-03
03-06-2003