<AWT Dev> PATCH: Color.createContext fixlet
Andrei V. Dmitriev
Andrei.Dmitriev at Sun.COM
Thu Apr 17 02:45:06 PDT 2008
Keith,
what's the source bundle number you are using?
Seem this defect is already fixed:
http://bugs.sun.com/view_bug.do?bug_id=2152125
I also tried to take the latest source bundle from
http://download.java.net/openjdk/jdk6/
(it is b09 Apr 11 2008) and the problem seem gone away.
Thanks,
--Andrei
Keith Seitz wrote:
> 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
>
More information about the awt-dev
mailing list