JDK 9 RFR of 8176332: Increase sleep time in java/nio/channels/Selector/ChangingInterests.java write1()
Brian Burkhalter
brian.burkhalter at oracle.com
Thu Mar 9 15:54:25 UTC 2017
On Mar 9, 2017, at 3:43 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> This changes the test in a subtle way but I think it is okay. Can you fix the formatting of L58-59 before you push this?
Do you mean like A or B below? B overruns 80 columns.
Thanks,
Brian
=== A ===
--- a/test/java/nio/channels/Selector/ChangingInterests.java
+++ b/test/java/nio/channels/Selector/ChangingInterests.java
@@ -55,8 +55,8 @@
* Writes two bytes to 'out' and reads one byte from 'in' so
* as to make 'in' readable.
*/
- static void makeReadable(SocketChannel out, SocketChannel in)
- throws IOException {
+ static void makeReadable(SocketChannel out,
+ SocketChannel in) throws IOException {
=== B ===
--- a/test/java/nio/channels/Selector/ChangingInterests.java
+++ b/test/java/nio/channels/Selector/ChangingInterests.java
@@ -55,8 +55,7 @@
* Writes two bytes to 'out' and reads one byte from 'in' so
* as to make 'in' readable.
*/
- static void makeReadable(SocketChannel out, SocketChannel in)
- throws IOException {
+ static void makeReadable(SocketChannel out, SocketChannel in) throws IOException {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170309/78aac6b8/attachment.html>
More information about the nio-dev
mailing list