Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6195593
Votes 0
Synopsis REGRESSION: javax/imageio/IRPTest.java fails
Category java:imageio
Reported Against mustang
Release Fixed mustang(b63)
State 10-Fix Delivered, Verified, bug
Priority: 3-Medium
Related Bugs 6258121 , 5039494
Submit Date 15-NOV-2004
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


  xxxxx@xxxxx   2004-11-15 23:09:33 GMT
Work Around
N/A
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.
  xxxxx@xxxxx   2005-04-08 22:22:02 GMT
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.
Posted Date : 2005-10-04 10:22:25.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang