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

XRPMBlitLoops: attempt to compare Composite and CompositeType

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 8, 9
    • client-libs
    • 2d

      As reported by errorprone:
      jdk/src/java.desktop/unix/classes/sun/java2d/xr/XRPMBlitLoops.java

              if (CompositeType.SrcOverNoEa.equals(comp)

      CompositeType.SrcOverNoEa is of type CompositeType, while comp is of type Composite, so the check for equality is always false.

            prr Philip Race
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: