FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
The 2 parseObject methods in java.text.Format throw a NullPointerException if the parameter "source" is null. However, this is not specified in the javadoc. Please note that this should also be checked & corrected in all subclasses of java.text.Format
REPRODUCIBILITY :
This bug can be reproduced always.
A DESCRIPTION OF THE PROBLEM :
The 2 parseObject methods in java.text.Format throw a NullPointerException if the parameter "source" is null. However, this is not specified in the javadoc. Please note that this should also be checked & corrected in all subclasses of java.text.Format
REPRODUCIBILITY :
This bug can be reproduced always.
- relates to
-
JDK-8150702 change in javadoc for parseObject for MessageFormat - JDK-8073211
-
- Closed
-
-
JDK-6235363 [Fmt-*] Doc: Inconsistencies in handling of null FieldPosition in Format and subclasses
-
- Closed
-
-
JDK-4116444 java.text.MessageFormat.parse has different behavior in case of null
-
- Closed
-