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 Availability 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
22-11-2013

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.
05-09-2013

review posted
26-07-2013