8179662: OutputStreamWriter javadocs states that you can set the buffer size but there is no way to do that
Summary: Change specification verbiage to match longstanding behavior
Reviewed-by: briangoetz, chegar, lancea, rriggs
--- a/jdk/src/java.base/share/classes/java/io/OutputStreamWriter.java Tue May 09 13:19:27 2017 +0200
+++ b/jdk/src/java.base/share/classes/java/io/OutputStreamWriter.java Tue May 09 07:40:20 2017 -0700
@@ -40,10 +40,8 @@
*
* <p> Each invocation of a write() method causes the encoding converter to be
* invoked on the given character(s). The resulting bytes are accumulated in a
- * buffer before being written to the underlying output stream. The size of
- * this buffer may be specified, but by default it is large enough for most
- * purposes. Note that the characters passed to the write() methods are not
- * buffered.
+ * buffer before being written to the underlying output stream. Note that the
+ * characters passed to the write() methods are not buffered.
*
* <p> For top efficiency, consider wrapping an OutputStreamWriter within a
* BufferedWriter so as to avoid frequent converter invocations. For example: