hg: jdk9/sandbox/jdk: 8138963: java.lang.Objects new method to default to non-null
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Wed Oct 21 18:30:59 UTC 2015
Changeset: d715a59bca20
Author: rriggs
Date: 2015-10-21 14:18 -0400
URL: http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/d715a59bca20
8138963: java.lang.Objects new method to default to non-null
Summary: add java.util.Object.nonNullElse and nonNullElseGet
Reviewed-by: dfuchs, jrose, psandoz, smarks, igerasim, chegar
! src/java.base/share/classes/java/util/Objects.java
! test/java/util/Objects/BasicObjectsTest.java
More information about the jdk9-sandbox-changes
mailing list