-
Bug
-
Resolution: Won't Fix
-
P3
-
9
The following JavaSE8's method :
http://download.java.net/jdk8/docs/api/java/util/Objects.html#requireNonNull-T-java.util.function.Supplier-
doesn't specify what will happen if the passed instance of the message supplier is itself null - would there be an NPE thrown and what message would it contain.
Not having this specified prevents from developing conformance tests for this scenario.
http://download.java.net/jdk8/docs/api/java/util/Objects.html#requireNonNull-T-java.util.function.Supplier-
doesn't specify what will happen if the passed instance of the message supplier is itself null - would there be an NPE thrown and what message would it contain.
Not having this specified prevents from developing conformance tests for this scenario.
- relates to
-
JDK-8174950 Gracefully handle null Supplier in Objects.requireNonNull
-
- Resolved
-
-
JDK-8011800 Add java.util.Objects.requireNonNull(T, Supplier<String>)
-
- Closed
-