United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6195593 : REGRESSION: javax/imageio/IRPTest.java fails

Details
Type:
Bug
Submit Date:
2004-11-15
Status:
Closed
Updated Date:
2011-01-19
Project Name:
JDK
Resolved Date:
2005-12-05
Component:
client-libs
OS:
generic
Sub-Component:
javax.imageio
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Duplicate:
Relates:

Sub Tasks

Description
JDK        	    : 1.6.0 b12
Platform[s]         : Fails On:  Solaris Sparc 10 and Redhat AS 3.0
Failing Test [s]    : javax/imageio/IRPTest.java fails


    Test source location:
    =====================
/net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b12/ws/j2se/test/javax/imageio/IRPTest.java


    jtr file location:
    ==================
See Attachment.

file:///net/cady/export/dtf/unified/results/mustang/b11/regression/Sparc10-reg/workDir/javax/imageio/IRPTest.jtr

    How to reproduce:
    ====================
    - Set JAVA_HOME to /net/koori/onestop/jdk/6.0/latest/binaries/solaris-sparc
    - cd /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b12/ws/j2se/test/javax/imageio
    - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/solaris/bin/jtreg -r:/tmp -w:/tmp ./IRPTest.java


    Test output:
    =============
----------System.err:(13/1229)----------
java.lang.RuntimeException: Failed on images /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/basi0g01.png /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/bgbn4a08.png
	at IRPTest.main(IRPTest.java:410)
	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:585)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
	at java.lang.Thread.run(Thread.java:595)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed on images /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/basi0g01.png /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/bgbn4a08.png
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed on images /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/basi0g01.png /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/bgbn4a08.png
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed on images /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/basi0g01.png /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/bgbn4a08.png


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed on images /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/basi0g01.png /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b11/ws/j2se/test/javax/imageio/images/bgbn4a08.png



    Specific Machine Info:
    =====================
    Host Name:  huangho
                              Solaris 10 s10_70 SPARC
           Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 22 October 2004


###@###.### 2004-11-15 23:09:33 GMT

                                    

Comments
EVALUATION

This problem was caused by the fix for 5039494.
Starting this fix, the ImageReader.computeRegion() procedure is used to compute the destination region. In order to avoid discrepancy between calculated destination region and destination offset from the param, we should also update the destinationOffset according to calculated values.
                                     
2005-10-04
EVALUATION

This was a regression introduced in mustang-b03.  Specifically, the test
started failing with the 2004-05-06.mustang 2D nightly build.  The only
relevant change in that build was a fix for 5039494; based on the diffs,
it looks like that fix caused this test failure.  We should find a fix for
this soon, since it has been a constant source of failure for our
nightly regression test runs.
###@###.### 2005-04-08 22:22:02 GMT
                                     
2005-04-08



Hardware and Software, Engineered to Work Together