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

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 6u16
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Introduced In Version:
    • CPU:
      x86
    • OS:
      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

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

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: