java2d/pipe/Region.java equals, hix vs hiy

Phil Race philip.race at oracle.com
Sun Mar 25 10:36:36 PDT 2012


I think the bug was originally introduced in 6u10 for
6633275: Need to support shaped/translucent windows

It was later fixed in 6u12 as
6777320: PIT : Canvas is not fully painted on the internal frame & 
internal frame

All this was forwarded ported to 7.

Offhand I'm not sure how the former work made it into 6open but not the
bug fix, as 6-open split off from JDK 7 around 7 b23.

-phil.


On 3/25/12 3:30 AM, leo.hippelainen at wippies.com wrote:
> Hi!
>
> While comparing source modules between JDKs we noticed that in 
> OpenJDK6 module jdk/src/share/classes/sun/java2d/pipe/Region.java, 
> line 1209 contains:
>
> r.hiy != this.hiy || r.hiy != this.hiy
>
> Should it rather read like this:
>
> r.hix != this.hix || r.hiy != this.hiy
>
> I found out that this modification has been done to OpenJDK7 three 
> years ago: http://hg.openjdk.java.net/jdk7/awt/jdk/rev/f36e9200cb85
>
> My copy of the OpenJDK6 sources are extracted from 
> openjdk-6-src-b24-14_nov_2011.tar.gz
>
> Best regards,
> Leo H. (&Sampo)
>
>



More information about the jdk6-dev mailing list