JDK-8141652 : Rename methods Objects.nonNullElse* to requireNonNullElse*
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-11-06
  • Updated: 2019-10-31
  • Resolved: 2015-11-12
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 b93Fixed
Related Reports
Relates :  
Relates :  
Description
After much discussion:

The methods Objects.nonNullElse and Objects.nonNullElseGet are to be renamed to fit into the requireNonNull* family of methods.


Comments
Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-November/036352.html
09-11-2015