-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P3
-
None
-
Affects Version/s: 6
-
Component/s: client-libs
FULL PRODUCT VERSION :
java version "1.6.0_10-beta"
Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b24)
Java HotSpot(TM) Client VM (build 11.0-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux localhost.localdomain 2.6.20.1 #3 SMP Sun Mar 25 22:45:33 CEST 2007 i686 i686 i386 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
> RoundRectangle2D.Float rect = new RoundRectangle2D.Float(10, 10, 20, 20, 5, 5);
> g2d.fill(rect);
The code fills a RoundRectanlge but the upper-right round corner is too small and the lower-right corner is not round at all.
The RoundRectangle is filled correctly with 1.4.2 and 1.5, I don't have JDK6 (non u10) to test, sorry.
When antialiasing is enabled, everything looks fine.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run the code mentioned above, with antialiasing disabled
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
round rectangle with equal round corners
ACTUAL -
round rectangle with degenrated corners
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
RoundRectangle2D.Float rect = new RoundRectangle2D.Float(10, 10, 20, 20, 5, 5);
g2d.fill(rect);
---------- END SOURCE ----------
Release Regression From : 5.0
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
java version "1.6.0_10-beta"
Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b24)
Java HotSpot(TM) Client VM (build 11.0-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux localhost.localdomain 2.6.20.1 #3 SMP Sun Mar 25 22:45:33 CEST 2007 i686 i686 i386 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
> RoundRectangle2D.Float rect = new RoundRectangle2D.Float(10, 10, 20, 20, 5, 5);
> g2d.fill(rect);
The code fills a RoundRectanlge but the upper-right round corner is too small and the lower-right corner is not round at all.
The RoundRectangle is filled correctly with 1.4.2 and 1.5, I don't have JDK6 (non u10) to test, sorry.
When antialiasing is enabled, everything looks fine.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run the code mentioned above, with antialiasing disabled
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
round rectangle with equal round corners
ACTUAL -
round rectangle with degenrated corners
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
RoundRectangle2D.Float rect = new RoundRectangle2D.Float(10, 10, 20, 20, 5, 5);
g2d.fill(rect);
---------- END SOURCE ----------
Release Regression From : 5.0
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.