XRPMBlitLoops: attempt to compare Composite and CompositeType

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 8, 9
    • Component/s: 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.

            Assignee:
            Philip Race
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: