-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 1.2.0
-
Component/s: client-libs
-
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
-