JDK-8021591 : Additional NPE checks
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-07-26
  • Updated: 2017-05-17
  • Resolved: 2013-09-13
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 8
8 b108Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
Some cases where an explicit null check is needed were missed. This patch adds missing checks and tests.
Comments
Release note applies to both this issue and to JDK-4802647
2013-11-22

Release note text: In prior releases some implementations of Collection.removeAll(Collection) and retainAll(Collection) would silently ignore a null parameter if the collection itself was empty. In this release collections will consistently throw a NullPointerException if null is provided as a parameter.
2013-09-05

review posted
2013-07-26