hg: jdk8/tl/jdk: 8011800: Add java.util.Objects.requireNonNull(T, Supplier<String>)

Chris Hegarty chris.hegarty at oracle.com
Tue Apr 16 10:47:33 UTC 2013


On 04/16/2013 11:25 AM, Alan Bateman wrote:
>
> Joe - it turns out that this breaks genstubs as java.util.function is
> not in the boot JDK. I think we may have to anti-delta this until a
> solution for genstubs is worked out.

Here is a simple anti-delta patch, under 8012343: 
"Objects.requireNonNull(Object,Supplier) breaks genstubs build"

   http://cr.openjdk.java.net/~chegar/8012343/webrev.00/webrev/

Once reviewed, I will push it. We can leave it to Joe and Jon to work 
out the more tricky genstubs issue ;-)

-Chris.

>
> -Alan.
>
> On 16/04/2013 02:32, joe.darcy at oracle.com wrote:
>> Changeset: baaa706d7677
>> Author:    darcy
>> Date:      2013-04-15 18:31 -0700
>> URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/baaa706d7677
>>
>> 8011800: Add java.util.Objects.requireNonNull(T, Supplier<String>)
>> Reviewed-by: alanb, dholmes, mduigou
>>
>> ! src/share/classes/java/util/Objects.java
>> ! test/java/util/Objects/BasicObjectsTest.java
>>
>



More information about the core-libs-dev mailing list