-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
None
-
b53
-
generic
-
generic
The current specification (JDK14 and JDK15) doesn't specify the behave for some draw* methods in java.awt.Graphics when the parameter is null.
For example, the Graphics.drawString(String, str, int x, int y) doesn't state NullPointerException thrown if str is null, however, the jdk14, jdk15 and personal profile implemetatoin throws NullPointerException while personal basis does not.
The spec should clarify that NullPointerException thrown if it is expected behave, otherwise, no exception expected could be assumed.
###@###.### 2004-09-09
###@###.### 10/13/04 21:32 GMT
For example, the Graphics.drawString(String, str, int x, int y) doesn't state NullPointerException thrown if str is null, however, the jdk14, jdk15 and personal profile implemetatoin throws NullPointerException while personal basis does not.
The spec should clarify that NullPointerException thrown if it is expected behave, otherwise, no exception expected could be assumed.
###@###.### 2004-09-09
###@###.### 10/13/04 21:32 GMT