<AWT Dev> PATCH: Color.createContext fixlet

Keith Seitz keiths at redhat.com
Wed Apr 16 11:18:56 PDT 2008


Hi,

OpenJDK 6 fails to meet the API requirements for Color.createContext.
Specifically: "The same PaintContext is returned, regardless of whether
or not r, r2d, xform, or hints are null." As it is today,
Color.createContext will return a different PaintContext every time it
is called.

The attached patch corrects this.

Keith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: color-createcontext.patch
Type: text/x-patch
Size: 1317 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20080416/96f7e6da/color-createcontext.patch 


More information about the awt-dev mailing list