-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0
-
1.2fcs
-
generic
-
generic
-
Not verified
The addXListener and removeXListener methods of Component should
immediately throw a NullPointerException when passed a null argument.
-----------------------------------------------------------------
jeff.dunn@Eng 1998-08-19
We can't throw an exception, because existing apps (e.g., hotjava)
have become dependent upon the AWT silently ignoring null. We have
changed the spec to explicitly state that null is ignored.
------------------------------------------------------------------
immediately throw a NullPointerException when passed a null argument.
-----------------------------------------------------------------
jeff.dunn@Eng 1998-08-19
We can't throw an exception, because existing apps (e.g., hotjava)
have become dependent upon the AWT silently ignoring null. We have
changed the spec to explicitly state that null is ignored.
------------------------------------------------------------------
- relates to
-
JDK-4115944 Specification for Component -- null param behavior not specified
- Closed