--- old/src/share/classes/java/util/function/DoubleBlock.java 2012-12-04 21:26:53.816643333 -0800 +++ new/src/share/classes/java/util/function/DoubleBlock.java 2012-12-04 21:26:53.608643323 -0800 @@ -29,11 +29,23 @@ * external state. * *

This is the primitive type specialization of {@link Block} for - * {@code double} and also may be used as a {@code Block}. + * {@code double} and also may be used as a {@code Block}. When used as + * a {@code Block} the default {@code accept} implementation provided by this + * interface does not accept null parameters. * * @since 1.8 */ -public interface DoubleBlock { +public interface DoubleBlock extends Block { + + /** + * {@inheritDoc} + * + * @param t {@inheritDoc}, must be non-null + */ + @Override + public default void accept(Double t) { + accept((double)t); + } /** * Use the {@code double} input value in an operation which may modify