The diff:
--- a/src/java.base/share/classes/java/io/ByteArrayOutputStream.java
+++ b/src/java.base/share/classes/java/io/ByteArrayOutputStream.java
@@ -158,15 +158,16 @@
count += len;
}
/**
* Writes the complete contents of the specified byte array
* to this {@code ByteArrayOutputStream}.
*
- * <p> This method is equivalent to {@link #write(byte[],int,int)
+ * @implSpec
+ * This method is equivalent to {@link #write(byte[],int,int)
* write(b ,0, b.length)}.
*
* @param b the data.
* @throws NullPointerException if {@code b} is {@code null}.
* @since 11
*/
public void writeBytes(byte b[]) {
Thanks,
Brina
On Mar 21, 2018, at 10:00 AM, Brian Burkhalter <[email protected]>
wrote:
> I’ll change before pushing.
>
> Thanks,
>
> Brian
>
> On Mar 21, 2018, at 9:58 AM, Roger Riggs <[email protected]> wrote:
>
>> An @impSpec for that is fine with me.