Backporting changeset from 7 to 6 for bugfix

Joe Darcy joe.darcy at oracle.com
Wed Jun 9 18:02:27 PDT 2010


Andrew Su wrote:
> Hello,
>
> This is the link[1] to the changeset which fixes the bug which renders a circle that has a side clipped.
> Requesting permission to backport this fix.
>
> [1] http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/fb03586d68b6
>
> -Andrew
>   

Hello Andrew.

I approve this fix being applied to OpenJDK 6 b20 *as long as* the file 
test/sun/pisces/ScaleTest.java is added initially with an Oracle 
copyright rather than a Sun one; in other words, use this version of the 
test file:
http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/00cd9dc3c2b5/test/sun/pisces/ScaleTest.java

FYI, here are some other fixes from JDK 7 that might be applicable and 
worthwhile to include in OpenJDK 6:

6697721 OpenJDK: rotated text baseline different between TextLayout and 
drawString
6587560 OpenJDK problem handling bitmaps returned when LCD text is 
requested.
    (may want to pull over any other subsequent fixes involving 
src/share/native/sun/font/freetypeScaler.c too,
     but the changeset for 6307603: "[X11] Use RENDER extension for 
complex operations done in software"
    should be considered separately.)
6829678 StrokeShapeTest: createStrokedShape() behaves differently
6829673 ThinLineTest: A line < 1 pixel disappears.
6793344 BasicStroke's first element dash pattern is not a dash

-Joe


More information about the jdk6-dev mailing list