FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
Since revision 5e624003e622 in 2d/jdk, we compute maxY as getScanLineCrossingEnd()-1 in sun.java2d.pisces.Renderer and we have hasNext() {return nextY < maxY;} so we're never processing the last scanline. This is a regression.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Drawing almost any antialiased shape will reproduce it. It's most noticeable with something like in the given "source code".
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
g2.setRenderingHint(KEY_ANTIALIASING, VALUE_ANTIALIAS_ON);
g2.draw(new QuadCurve2D.Float(0, 0, 20, 0, 20, 20));
---------- END SOURCE ----------
|