RFR 8180410: ByteArrayOutputStream should not throw IOExceptions
brian.burkhalter at oracle.com
Thu Mar 15 00:48:20 UTC 2018
This proposed patch would make the following changes:
1. Add a new method writeBytes(byte) which writes all supplied bytes but does not throw IOE.
2. Document some previously undocumented exceptions which can be thrown by write(byte,int,int) and writeTo(OutputStream).
The test is renamed from WriteBounds to Write with the addition of a test of write() and writeBytes().
A CSR will be filed later.
More information about the core-libs-dev