diff --git a/src/java.base/share/classes/sun/nio/ch/DatagramChannelImpl.java b/src/java.base/share/classes/sun/nio/ch/DatagramChannelImpl.java index e51e18dd4cdec..bb43999aecb65 100644 --- a/src/java.base/share/classes/sun/nio/ch/DatagramChannelImpl.java +++ b/src/java.base/share/classes/sun/nio/ch/DatagramChannelImpl.java @@ -1903,8 +1903,8 @@ private void implCloseBlockingMode() throws IOException { } if (NativeThread.isNativeThread(reader) || NativeThread.isNativeThread(writer)) { - boolean isAix = System.getProperty("os.name").startsWith("AIX"); - if (isAix) { + boolean isAix = System.getProperty("os.name").startsWith("AIX"); + if (isAix) { if (NativeThread.isNativeThread(reader)) NativeThread.signal(reader); if (NativeThread.isNativeThread(writer)) @@ -1917,7 +1917,7 @@ private void implCloseBlockingMode() throws IOException { NativeThread.signal(reader); if (NativeThread.isNativeThread(writer)) NativeThread.signal(writer); - } + } } } } diff --git a/src/java.base/share/classes/sun/nio/ch/NioSocketImpl.java b/src/java.base/share/classes/sun/nio/ch/NioSocketImpl.java index 19df3ffb5c030..7638605baa9c2 100644 --- a/src/java.base/share/classes/sun/nio/ch/NioSocketImpl.java +++ b/src/java.base/share/classes/sun/nio/ch/NioSocketImpl.java @@ -908,8 +908,8 @@ protected void close() throws IOException { } if (NativeThread.isNativeThread(reader) || NativeThread.isNativeThread(writer)) { - boolean isAix = System.getProperty("os.name").startsWith("AIX"); - if (isAix) { + boolean isAix = System.getProperty("os.name").startsWith("AIX"); + if (isAix) { if (NativeThread.isNativeThread(reader)) NativeThread.signal(reader); if (NativeThread.isNativeThread(writer)) diff --git a/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java b/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java index 057ba8707c21d..5f6ff839ff108 100644 --- a/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java +++ b/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java @@ -1147,8 +1147,8 @@ private void implCloseBlockingMode() throws IOException { } if (NativeThread.isNativeThread(reader) || NativeThread.isNativeThread(writer)) { - boolean isAix = System.getProperty("os.name").startsWith("AIX"); - if (isAix) { + boolean isAix = System.getProperty("os.name").startsWith("AIX"); + if (isAix) { if (NativeThread.isNativeThread(reader)) NativeThread.signal(reader); if (NativeThread.isNativeThread(writer)) diff --git a/src/java.base/unix/classes/sun/nio/ch/SourceChannelImpl.java b/src/java.base/unix/classes/sun/nio/ch/SourceChannelImpl.java index 1d1a7beda0bb1..1fc4bf9265873 100644 --- a/src/java.base/unix/classes/sun/nio/ch/SourceChannelImpl.java +++ b/src/java.base/unix/classes/sun/nio/ch/SourceChannelImpl.java @@ -157,7 +157,7 @@ private void implCloseBlockingMode() throws IOException { if (NativeThread.isVirtualThread(th)) { Poller.stopPoll(fdVal); } else { - boolean isAix = System.getProperty("os.name").startsWith("AIX"); + boolean isAix = System.getProperty("os.name").startsWith("AIX"); if (isAix) { NativeThread.signal(th); nd.preClose(fd);