diff -r be0ff4a719bf -r 4b57f9da8192 jdk/src/share/classes/java/lang/AbstractStringBuilder.java --- a/jdk/src/share/classes/java/lang/AbstractStringBuilder.java Fri Jan 25 16:13:39 2013 -0800 +++ b/jdk/src/share/classes/java/lang/AbstractStringBuilder.java Tue Jan 22 11:14:13 2013 -0500 @@ -35,6 +35,10 @@ * particular sequence of characters, but the length and content of the * sequence can be changed through certain method calls. * + *

Unless otherwise noted, passing a {@code null} argument to a constructor + * or method in this class will cause a {@link NullPointerException} to be + * thrown. + * * @author Michael McCloskey * @author Martin Buchholz * @author Ulf Zibis @@ -334,8 +338,6 @@ * @param srcEnd stop copying at this offset. * @param dst the array to copy the data into. * @param dstBegin offset into {@code dst}. - * @throws NullPointerException if {@code dst} is - * {@code null}. * @throws IndexOutOfBoundsException if any of the following is true: *