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

Test test/sun/awt/image/bug8038000.java fails with ClassCastException

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b26
    • CPU:
      x86_64
    • OS:
      generic

      Backports

        Description

        Testsuite name: Regression
        Test name(s):test/sun/awt/image/bug8038000.java
        JDK tested: jdk1.8.0_25b01
        OS tested: Mac x86_64
        Is it a regression? No
        Regression introduced in release/build: N/A
          
        Is it platform specific? no
        The is failure reproduced: always

        Exception in thread "main" java.lang.ClassCastException: java.awt.image.SinglePixelPackedSampleModel cannot be cast to java.awt.image.ComponentSampleModel
        at sun.java2d.cmm.lcms.LCMSImageLayout.createImageLayout(LCMSImageLayout.java:389)
        at sun.java2d.cmm.lcms.LCMSTransform.colorConvert(LCMSTransform.java:465)
        at java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:571)
        at com.bugme.bug8038000.checkOp(bug8038000.java:111)
        at com.bugme.bug8038000.checkOps(bug8038000.java:88)
        at com.bugme.bug8038000.main(bug8038000.java:45)

          Issue Links

            Activity

            Show
            anashaty Anton Nashatyrev (Inactive) added a comment - Created fix review: http://cr.openjdk.java.net/~anashaty/8047066/9/webrev.00/
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/128190321f5d
            User: bae
            Date: 2014-07-08 12:43:22 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/128190321f5d User: bae Date: 2014-07-08 12:43:22 +0000
            Hide
            anashaty Anton Nashatyrev (Inactive) added a comment -
            The existing regression test test/sun/awt/image/bug8038000.java could be used to verify the fix.
            Show
            anashaty Anton Nashatyrev (Inactive) added a comment - The existing regression test test/sun/awt/image/bug8038000.java could be used to verify the fix.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/128190321f5d
            User: lana
            Date: 2014-08-08 16:52:24 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/128190321f5d User: lana Date: 2014-08-08 16:52:24 +0000
            Hide
            iris Iris Clark added a comment -
            Changeset includes addition of this bugid to the regression test which covers this issue. A "noreg" Label is not needed.
            Show
            iris Iris Clark added a comment - Changeset includes addition of this bugid to the regression test which covers this issue. A "noreg" Label is not needed.

              People

              • Assignee:
                anashaty Anton Nashatyrev (Inactive)
                Reporter:
                sraghavan Srinivasan Raghavan (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: