JDK-8073211 : javadoc of Format parseObject methods should specify NullPointerExceptions
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.text
  • Affected Version: 8u31
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_8
  • CPU: x86
  • Submitted: 2015-02-15
  • Updated: 2017-05-17
  • Resolved: 2015-11-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b96Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
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.