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

2008-04-18 Thread Keith Seitz
Jim Graham wrote: I'm curious if you need this behavior or not. No, I don't specifically need this behavior. I am simply working my way through JCK failures on OpenJDK/icedtea. So, I guess it is reasonable to fix (though I'm still curious if anyone but the JCK tests might rely on the behav

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

2008-04-16 Thread Jim Graham
Hi Keith, I'm curious if you need this behavior or not. We are planning to delete the doc comment in JDK7 because the context objects are so cheap to create that it wasn't really necessary. The comment was added early in the development of the 2D API and was documenting what was in the code

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

2008-04-16 Thread Keith Seitz
Keith Seitz wrote: Hi, Ignore me. Too little caffeine today. I'll re-send to the proper list... Keith

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

2008-04-16 Thread Keith Seitz
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 a