[OpenJDK 2D-Dev] PATCH: Color.createContext fixlet

Keith Seitz keiths at redhat.com
Wed Apr 16 18:16:27 UTC 2008


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: color-createcontext.patch
Type: text/x-patch
Size: 1316 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20080416/aeb88046/color-createcontext.patch>

More information about the 2d-dev mailing list