Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6175450

12 javax/imageio tests are failing with package based installation of JDK on solaris10 sparc

    Details

      Description

      12 testcases from Regression workspace are failing on Solaris10 sparc with 1.4.2_07-b01 as well as with 1.4.2_06-b02 for package based installation of JDK where as they are passing with .sh based installation of JDK.

      How to Reproduce:
      The following 12 tests are failing with Rutime Exception, Writer for png has wrong class!

      javax/imageio/BitDepth.java
      javax/imageio/GetImageWriter.java
      javax/imageio/plugins/jpeg/BadMarkerTest.java
      javax/imageio/plugins/jpeg/CrashAfterDispose.java
      javax/imageio/plugins/jpeg/NoAPP0Test.java
      javax/imageio/plugins/jpeg/UshortGrayTest.java
      javax/imageio/plugins/png/PNGTransparency.java
      javax/imageio/ImageWriteParamTest.java
      javax/imageio/event/WriteProgressListenerTest.java
      javax/imageio/metadata/GetObjectMinValue.java
      javax/imageio/IRPTest.java
      javax/imageio/ImageReaderGetDestination.java

      These testcases are from the following location, failing with package based JDK only.

      /net/shiva.sfbay/test/MyTestArea/JDK1.4.2/workspace_142/test/javax/imageio

      where as they are passing with JDK installed using sh file. These are also passed on solaris9-sparc.

      To reproduce:

      Copy the attached file IRPTest.java and images.tar, untar images.tar and compile and run it with two different JDKs.

      Here is the OUTPUT:
      1) Package Based installation :

      bigapp-s14$ /usr/j2se/bin/java -version
      java version "1.4.2_07-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-ea-b01)
      Java HotSpot(TM) Client VM (build 1.4.2_07-ea-b01, mixed mode)

      bigapp-s14$ /usr/j2se/bin/java IRPTest
      Testing ./images/basi0g01.png
      Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
              at java.awt.image.MultiPixelPackedSampleModel.getSample(MultiPixelPackedSampleModel.java:339)
              at java.awt.image.SampleModel.getPixels(SampleModel.java:743)
              at sun.awt.image.ImagingLib.transformRaster(Native Method)
              at sun.awt.image.ImagingLib.filter(ImagingLib.java:140)
              at java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:335)
              at com.sun.media.imageioimpl.plugins.clib.CLibImageReader.read(CLibImageReader.java:453)
              at IRPTest.test(IRPTest.java:300)
              at IRPTest.test(IRPTest.java:362)
              at IRPTest.main(IRPTest.java:402)

      2) .sh file based installation

      bigapp-s14$ /export/updates/jdks/j2sdk1.4.2_07/bin/java -version
      java version "1.4.2_07-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-ea-b01)
      Java HotSpot(TM) Client VM (build 1.4.2_07-ea-b01, mixed mode)

      bigapp-s14$ /export/updates/jdks/j2sdk1.4.2_07/bin/java IRPTest
      Testing ./images/basi0g01.png
      Testing ./images/bgbn4a08.png
      Testing ./images/gosling.jpg
      Testing ./images/duke.gif

      bigapp-s14$ cat /etc/release
                                   Solaris 10 s10_68 SPARC
                 Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                 Assembled 21 September 2004
      ###@###.### 10/7/04 13:06 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bae Andrew Brygin
                Reporter:
                skantesunw Srilatha Kante (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: