JDK-4916421 : REGRESSION: JCK1.5-runtime api/java_awt/Color/ICC_ColorSpace/..Constructor fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux,solaris_9,windows_2000
  • CPU: x86,sparc
  • Submitted: 2003-09-03
  • Updated: 2003-09-03
  • Resolved: 2003-09-03
Related Reports
Duplicate :  
Relates :  
Relates :  
Description

Name: mmR10223			Date: 09/03/2003


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.5.0-b17, JDK1.5.0-b16 (passes using JDK1.5.0-b12, 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/java_awt/Color/ICC_ColorSpace/serial/index.html#Constructor [serial2001]

See bugs 4897937, 4903358 for more details.

--------------
Eric Hawkes wrote:

I looked at the CCC request for 4864304, and it looks like 
this change was covered http://ccc.sfbay/4864304 

  These properties will fire a property change event when they are
  changed (they are bound). We will document this in Component's
  addPropertyChangeListener method. This will result in adding the
  following to addPropertyChangeListener's javadoc:
 
     *    <li>this Component's preferred size ("preferredSize")</li>
     *    <li>this Component's minimum size ("minimumSize")</li>
     *    <li>this Component's maximum size ("maximumSize")</li>
     *    <li>this Component's name ("name")</li>

Rather than reopening 4873770 (inconvenient when a bug 
has been closed as a duplicate), should a new bug be filed 
to change the test case?  
------------------------

Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_awt/Color/ICC_ColorSpace/serial/ConstructorTests.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b17/jck15/win32/win2000_plugin_ie5.5linux-2/workDir/api/java_awt/Color/ICC_ColorSpace/serial/index_Constructor.jtr

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

JCK="h:/java/jck1.5/JCK-runtime-15"
JDK="h:/java/jdk1.5.0/win32"

CLASSPATH="$JCK/classes;$JCK/lib/javatest.jar"
 
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.awt.Color.ICC_ColorSpace.serial.ConstructorTests -TestCaseID serial2001

--- script end ---

Test output:
============
java.lang.IllegalArgumentException: Invalid field: java.awt.color.ICC_Profile thisProfile
	at javasoft.sqe.serial.StreamObject.getObjectField(StreamObject.java:556)
	at javasoft.sqe.tests.api.java.awt.Color.ICC_ColorSpace.serial.ConstructorTests.serial2001(ConstructorTests.java:94)
	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.javatest.lib.MultiTest.run(MultiTest.java:195)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:372)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:317)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:194)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:125)
	at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:818)
	at com.sun.javatest.agent.Agent$Task.execute(Agent.java:749)
	at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:610)
	at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:379)
	at com.sun.javatest.agent.Agent.access$000(Agent.java:43)
	at com.sun.javatest.agent.Agent$1.run(Agent.java:255)
	at java.lang.Thread.run(Thread.java:549)
serial2001: Failed. Test case throws exception: java.lang.IllegalArgumentException: Invalid field: java.awt.color.ICC_Profile thisProfile
result: Failed. test cases: 1; all failed; first test case failure: serial2001


Specific machine info:
======================
Hostname: linux-2
OS: Windows 2000 Pro
Hostname: linux-24
OS: RedHat Advanced Server 2.1 (Gnome)
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)

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

Comments
EVALUATION java.awt.color belongs to 2D. ###@###.### 2003-09-03
03-09-2003