diff -r 33de7752835c -r 94bb65cb37d3 src/java.base/share/classes/java/io/OutputStream.java
--- a/src/java.base/share/classes/java/io/OutputStream.java Fri Sep 20 11:33:30 2019 +0800
+++ b/src/java.base/share/classes/java/io/OutputStream.java Fri Sep 20 11:07:52 2019 +0100
@@ -107,7 +107,7 @@
* implementation for this method.
*
* @param b the byte
.
- * @exception IOException if an I/O error occurs. In particular,
+ * @throws IOException if an I/O error occurs. In particular,
* an IOException
may be thrown if the
* output stream has been closed.
*/
@@ -120,7 +120,7 @@
* write(b, 0, b.length)
.
*
* @param b the data.
- * @exception IOException if an I/O error occurs.
+ * @throws IOException if an I/O error occurs.
* @see java.io.OutputStream#write(byte[], int, int)
*/
public void write(byte b[]) throws IOException {
@@ -151,7 +151,7 @@
* @param b the data.
* @param off the start offset in the data.
* @param len the number of bytes to write.
- * @exception IOException if an I/O error occurs. In particular,
+ * @throws IOException if an I/O error occurs. In particular,
* an IOException
is thrown if the output
* stream is closed.
*/
@@ -179,7 +179,7 @@
*
* The flush
method of OutputStream
does nothing.
*
- * @exception IOException if an I/O error occurs.
+ * @throws IOException if an I/O error occurs.
*/
public void flush() throws IOException {
}
@@ -192,7 +192,7 @@
*
* The close
method of OutputStream
does nothing.
*
- * @exception IOException if an I/O error occurs.
+ * @throws IOException if an I/O error occurs.
*/
public void close() throws IOException {
}