-
Bug
-
Resolution: Fixed
-
P5
-
1.1.2
-
hopper
-
sparc
-
solaris_2.5.1
DESCRIPTION
---------------
SPURIOUS ASSERT + JDK SPEC ISSUE
The call to Polygon in file awt_Graphics.cpp at line #631 asserts if nPoints
is less than 3. This is because AWT does not specify minimum number of
points for Polygon bug Win32 api requires minimum three points.
Oracle WebForms bug only requires removal of assert for less than three
points. JavaSoft needs to update the spec and clarify the issue about
minimum number of points for a polygon. (Should it draw a point for 1 point
and line for 2 points?)
Verified fix with j2se build 1.4.1-beta-b09, mixed mode on w2k.
###@###.### 2002-04-24
---------------
SPURIOUS ASSERT + JDK SPEC ISSUE
The call to Polygon in file awt_Graphics.cpp at line #631 asserts if nPoints
is less than 3. This is because AWT does not specify minimum number of
points for Polygon bug Win32 api requires minimum three points.
Oracle WebForms bug only requires removal of assert for less than three
points. JavaSoft needs to update the spec and clarify the issue about
minimum number of points for a polygon. (Should it draw a point for 1 point
and line for 2 points?)
Verified fix with j2se build 1.4.1-beta-b09, mixed mode on w2k.
###@###.### 2002-04-24