-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8u101
-
x86_64
-
linux
FULL PRODUCT VERSION :
1.8.0_101
A DESCRIPTION OF THE PROBLEM :
Implementation of CornerRadii(double topLeftHorizontalRadius, double topLeftVerticalRadius,, ..)
determines 'uniform' based on separately comparing all the horizontal and vertical radii.
When called as
CornerRadii(horiz, vert, vert, horiz, horiz, vert, vert, horiz,false, false, false, false, false, false, false, false)
with horiz != vert is still considers all radii as 'uniform' and thus works as if just
CornerRadii(horiz) had been called.
Related toJDK-8087444
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a CornerRadii(horiz, vert, vert, horiz, horiz, vert, vert, horiz,false, false, false, false, false, false, false, false) with horiz different from vert.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A corner with different horizontal and vertical radii.
ACTUAL -
A corner with just one radius used for both horizontal and vertical.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Tweak one of the radii a tiny bit to trick the "uniform" check:
CornerRadii(horiz, vert, vert, horiz, horiz, vert, vert, horiz + 0.5, false, false, false, false, false, false, false, false)
1.8.0_101
A DESCRIPTION OF THE PROBLEM :
Implementation of CornerRadii(double topLeftHorizontalRadius, double topLeftVerticalRadius,, ..)
determines 'uniform' based on separately comparing all the horizontal and vertical radii.
When called as
CornerRadii(horiz, vert, vert, horiz, horiz, vert, vert, horiz,false, false, false, false, false, false, false, false)
with horiz != vert is still considers all radii as 'uniform' and thus works as if just
CornerRadii(horiz) had been called.
Related to
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a CornerRadii(horiz, vert, vert, horiz, horiz, vert, vert, horiz,false, false, false, false, false, false, false, false) with horiz different from vert.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A corner with different horizontal and vertical radii.
ACTUAL -
A corner with just one radius used for both horizontal and vertical.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Tweak one of the radii a tiny bit to trick the "uniform" check:
CornerRadii(horiz, vert, vert, horiz, horiz, vert, vert, horiz + 0.5, false, false, false, false, false, false, false, false)
- duplicates
-
JDK-8087444 CornerRadii with different horizontal and vertical values treated as uniform
-
- Resolved
-