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

jre1.6.0_15 and jre1.6.0_16 rescale op is broken when chaning alpha value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3
    • None
    • 6u16
    • client-libs
    • 2d
    • x86
    • windows_xp

    Description

      FULL PRODUCT VERSION :
      C:\>java -version
      java version "1.6.0_16"
      Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
      Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP

      A DESCRIPTION OF THE PROBLEM :
      RescaleOp class no longer works in 1.6.0_15 or 1.6.0_16 when changing Alpha values. Image not rendered correctly.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Go to your tutorial page http://java.sun.com/docs/books/tutorial/2d/images/drawimage.html . Go to the filter images section. Make sure you are using 1.6.0_15 or 1.6.0_16. The See Though Applet, doesn't render correctly as you make the alpha value smaller. "Java2d Is Great" doesn't render properly when the alpha value is reduced to zero on the duke_skateboard.jpg

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I expect to see the text fully in black when the duke_skateboard.jpg alpha value is zero. I also expect interim alpha values to render properly.
      ACTUAL -
      Bad image rendering.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      http://java.sun.com/docs/books/tutorial/2d/images/examples/SeeThroughImageApplet.java
      ---------- END SOURCE ----------

      Release Regression From : 6u14
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Imported:
              Indexed: