diff options
| -rw-r--r-- | api/current.txt | 118 | ||||
| -rw-r--r-- | api/system-current.txt | 118 | ||||
| -rw-r--r-- | api/test-current.txt | 118 |
3 files changed, 3 insertions, 351 deletions
diff --git a/api/current.txt b/api/current.txt index 71568004d760..ab52161268fa 100644 --- a/api/current.txt +++ b/api/current.txt @@ -52969,10 +52969,6 @@ package java.nio { package java.nio.channels { - public class AcceptPendingException extends java.lang.IllegalStateException { - ctor public AcceptPendingException(); - } - public class AlreadyBoundException extends java.lang.IllegalStateException { ctor public AlreadyBoundException(); } @@ -52981,68 +52977,10 @@ package java.nio.channels { ctor public AlreadyConnectedException(); } - public abstract interface AsynchronousByteChannel implements java.nio.channels.AsynchronousChannel { - method public abstract void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> read(java.nio.ByteBuffer); - method public abstract void write(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> write(java.nio.ByteBuffer); - } - - public abstract interface AsynchronousChannel implements java.nio.channels.Channel { - method public abstract void close() throws java.io.IOException; - } - - public abstract class AsynchronousChannelGroup { - ctor protected AsynchronousChannelGroup(java.nio.channels.spi.AsynchronousChannelProvider); - method public abstract boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; - method public abstract boolean isShutdown(); - method public abstract boolean isTerminated(); - method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); - method public abstract void shutdown(); - method public abstract void shutdownNow() throws java.io.IOException; - method public static java.nio.channels.AsynchronousChannelGroup withCachedThreadPool(java.util.concurrent.ExecutorService, int) throws java.io.IOException; - method public static java.nio.channels.AsynchronousChannelGroup withFixedThreadPool(int, java.util.concurrent.ThreadFactory) throws java.io.IOException; - method public static java.nio.channels.AsynchronousChannelGroup withThreadPool(java.util.concurrent.ExecutorService) throws java.io.IOException; - } - public class AsynchronousCloseException extends java.nio.channels.ClosedChannelException { ctor public AsynchronousCloseException(); } - public abstract class AsynchronousServerSocketChannel implements java.nio.channels.AsynchronousChannel java.nio.channels.NetworkChannel { - ctor protected AsynchronousServerSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider); - method public abstract void accept(A, java.nio.channels.CompletionHandler<java.nio.channels.AsynchronousSocketChannel, ? super A>); - method public abstract java.util.concurrent.Future<java.nio.channels.AsynchronousSocketChannel> accept(); - method public final java.nio.channels.AsynchronousServerSocketChannel bind(java.net.SocketAddress) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousServerSocketChannel bind(java.net.SocketAddress, int) throws java.io.IOException; - method public static java.nio.channels.AsynchronousServerSocketChannel open(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public static java.nio.channels.AsynchronousServerSocketChannel open() throws java.io.IOException; - method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); - method public abstract java.nio.channels.AsynchronousServerSocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; - } - - public abstract class AsynchronousSocketChannel implements java.nio.channels.AsynchronousByteChannel java.nio.channels.NetworkChannel { - ctor protected AsynchronousSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider); - method public abstract java.nio.channels.AsynchronousSocketChannel bind(java.net.SocketAddress) throws java.io.IOException; - method public abstract void connect(java.net.SocketAddress, A, java.nio.channels.CompletionHandler<java.lang.Void, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Void> connect(java.net.SocketAddress); - method public abstract java.net.SocketAddress getRemoteAddress() throws java.io.IOException; - method public static java.nio.channels.AsynchronousSocketChannel open(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public static java.nio.channels.AsynchronousSocketChannel open() throws java.io.IOException; - method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); - method public abstract void read(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public final void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> read(java.nio.ByteBuffer); - method public abstract void read(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long, ? super A>); - method public abstract java.nio.channels.AsynchronousSocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousSocketChannel shutdownInput() throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousSocketChannel shutdownOutput() throws java.io.IOException; - method public abstract void write(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public final void write(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> write(java.nio.ByteBuffer); - method public abstract void write(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long, ? super A>); - } - public abstract interface ByteChannel implements java.nio.channels.ReadableByteChannel java.nio.channels.WritableByteChannel { } @@ -53059,9 +52997,7 @@ package java.nio.channels { method public static java.nio.channels.ReadableByteChannel newChannel(java.io.InputStream); method public static java.nio.channels.WritableByteChannel newChannel(java.io.OutputStream); method public static java.io.InputStream newInputStream(java.nio.channels.ReadableByteChannel); - method public static java.io.InputStream newInputStream(java.nio.channels.AsynchronousByteChannel); method public static java.io.OutputStream newOutputStream(java.nio.channels.WritableByteChannel); - method public static java.io.OutputStream newOutputStream(java.nio.channels.AsynchronousByteChannel); method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.nio.charset.CharsetDecoder, int); method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.lang.String); method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, java.nio.charset.CharsetEncoder, int); @@ -53080,16 +53016,11 @@ package java.nio.channels { ctor public ClosedSelectorException(); } - public abstract interface CompletionHandler { - method public abstract void completed(V, A); - method public abstract void failed(java.lang.Throwable, A); - } - public class ConnectionPendingException extends java.lang.IllegalStateException { ctor public ConnectionPendingException(); } - public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.MulticastChannel java.nio.channels.ScatteringByteChannel { + public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.ScatteringByteChannel { ctor protected DatagramChannel(java.nio.channels.spi.SelectorProvider); method public abstract java.nio.channels.DatagramChannel bind(java.net.SocketAddress) throws java.io.IOException; method public abstract java.nio.channels.DatagramChannel connect(java.net.SocketAddress) throws java.io.IOException; @@ -53168,40 +53099,14 @@ package java.nio.channels { ctor public IllegalBlockingModeException(); } - public class IllegalChannelGroupException extends java.lang.IllegalArgumentException { - ctor public IllegalChannelGroupException(); - } - public class IllegalSelectorException extends java.lang.IllegalArgumentException { ctor public IllegalSelectorException(); } - public class InterruptedByTimeoutException extends java.io.IOException { - ctor public InterruptedByTimeoutException(); - } - public abstract interface InterruptibleChannel implements java.nio.channels.Channel { method public abstract void close() throws java.io.IOException; } - public abstract class MembershipKey { - ctor protected MembershipKey(); - method public abstract java.nio.channels.MembershipKey block(java.net.InetAddress) throws java.io.IOException; - method public abstract java.nio.channels.MulticastChannel channel(); - method public abstract void drop(); - method public abstract java.net.InetAddress group(); - method public abstract boolean isValid(); - method public abstract java.net.NetworkInterface networkInterface(); - method public abstract java.net.InetAddress sourceAddress(); - method public abstract java.nio.channels.MembershipKey unblock(java.net.InetAddress); - } - - public abstract interface MulticastChannel implements java.nio.channels.NetworkChannel { - method public abstract void close() throws java.io.IOException; - method public abstract java.nio.channels.MembershipKey join(java.net.InetAddress, java.net.NetworkInterface) throws java.io.IOException; - method public abstract java.nio.channels.MembershipKey join(java.net.InetAddress, java.net.NetworkInterface, java.net.InetAddress) throws java.io.IOException; - } - public abstract interface NetworkChannel implements java.nio.channels.Channel { method public abstract java.nio.channels.NetworkChannel bind(java.net.SocketAddress) throws java.io.IOException; method public abstract java.net.SocketAddress getLocalAddress() throws java.io.IOException; @@ -53251,10 +53156,6 @@ package java.nio.channels { method public final int validOps(); } - public class ReadPendingException extends java.lang.IllegalStateException { - ctor public ReadPendingException(); - } - public abstract interface ReadableByteChannel implements java.nio.channels.Channel { method public abstract int read(java.nio.ByteBuffer) throws java.io.IOException; } @@ -53332,10 +53233,6 @@ package java.nio.channels { method public final int validOps(); } - public class ShutdownChannelGroupException extends java.lang.IllegalStateException { - ctor public ShutdownChannelGroupException(); - } - public abstract class SocketChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.NetworkChannel java.nio.channels.ScatteringByteChannel { ctor protected SocketChannel(java.nio.channels.spi.SelectorProvider); method public abstract java.nio.channels.SocketChannel bind(java.net.SocketAddress) throws java.io.IOException; @@ -53371,10 +53268,6 @@ package java.nio.channels { method public abstract int write(java.nio.ByteBuffer) throws java.io.IOException; } - public class WritePendingException extends java.lang.IllegalStateException { - ctor public WritePendingException(); - } - } package java.nio.channels.spi { @@ -53421,15 +53314,6 @@ package java.nio.channels.spi { method protected abstract java.nio.channels.SelectionKey register(java.nio.channels.spi.AbstractSelectableChannel, int, java.lang.Object); } - public abstract class AsynchronousChannelProvider { - ctor protected AsynchronousChannelProvider(); - method public abstract java.nio.channels.AsynchronousChannelGroup openAsynchronousChannelGroup(int, java.util.concurrent.ThreadFactory) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousChannelGroup openAsynchronousChannelGroup(java.util.concurrent.ExecutorService, int) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousServerSocketChannel openAsynchronousServerSocketChannel(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousSocketChannel openAsynchronousSocketChannel(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public static java.nio.channels.spi.AsynchronousChannelProvider provider(); - } - public abstract class SelectorProvider { ctor protected SelectorProvider(); method public java.nio.channels.Channel inheritedChannel() throws java.io.IOException; diff --git a/api/system-current.txt b/api/system-current.txt index 9e60ba9e2ff5..8ea185490c9d 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -56058,10 +56058,6 @@ package java.nio { package java.nio.channels { - public class AcceptPendingException extends java.lang.IllegalStateException { - ctor public AcceptPendingException(); - } - public class AlreadyBoundException extends java.lang.IllegalStateException { ctor public AlreadyBoundException(); } @@ -56070,68 +56066,10 @@ package java.nio.channels { ctor public AlreadyConnectedException(); } - public abstract interface AsynchronousByteChannel implements java.nio.channels.AsynchronousChannel { - method public abstract void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> read(java.nio.ByteBuffer); - method public abstract void write(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> write(java.nio.ByteBuffer); - } - - public abstract interface AsynchronousChannel implements java.nio.channels.Channel { - method public abstract void close() throws java.io.IOException; - } - - public abstract class AsynchronousChannelGroup { - ctor protected AsynchronousChannelGroup(java.nio.channels.spi.AsynchronousChannelProvider); - method public abstract boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; - method public abstract boolean isShutdown(); - method public abstract boolean isTerminated(); - method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); - method public abstract void shutdown(); - method public abstract void shutdownNow() throws java.io.IOException; - method public static java.nio.channels.AsynchronousChannelGroup withCachedThreadPool(java.util.concurrent.ExecutorService, int) throws java.io.IOException; - method public static java.nio.channels.AsynchronousChannelGroup withFixedThreadPool(int, java.util.concurrent.ThreadFactory) throws java.io.IOException; - method public static java.nio.channels.AsynchronousChannelGroup withThreadPool(java.util.concurrent.ExecutorService) throws java.io.IOException; - } - public class AsynchronousCloseException extends java.nio.channels.ClosedChannelException { ctor public AsynchronousCloseException(); } - public abstract class AsynchronousServerSocketChannel implements java.nio.channels.AsynchronousChannel java.nio.channels.NetworkChannel { - ctor protected AsynchronousServerSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider); - method public abstract void accept(A, java.nio.channels.CompletionHandler<java.nio.channels.AsynchronousSocketChannel, ? super A>); - method public abstract java.util.concurrent.Future<java.nio.channels.AsynchronousSocketChannel> accept(); - method public final java.nio.channels.AsynchronousServerSocketChannel bind(java.net.SocketAddress) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousServerSocketChannel bind(java.net.SocketAddress, int) throws java.io.IOException; - method public static java.nio.channels.AsynchronousServerSocketChannel open(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public static java.nio.channels.AsynchronousServerSocketChannel open() throws java.io.IOException; - method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); - method public abstract java.nio.channels.AsynchronousServerSocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; - } - - public abstract class AsynchronousSocketChannel implements java.nio.channels.AsynchronousByteChannel java.nio.channels.NetworkChannel { - ctor protected AsynchronousSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider); - method public abstract java.nio.channels.AsynchronousSocketChannel bind(java.net.SocketAddress) throws java.io.IOException; - method public abstract void connect(java.net.SocketAddress, A, java.nio.channels.CompletionHandler<java.lang.Void, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Void> connect(java.net.SocketAddress); - method public abstract java.net.SocketAddress getRemoteAddress() throws java.io.IOException; - method public static java.nio.channels.AsynchronousSocketChannel open(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public static java.nio.channels.AsynchronousSocketChannel open() throws java.io.IOException; - method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); - method public abstract void read(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public final void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> read(java.nio.ByteBuffer); - method public abstract void read(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long, ? super A>); - method public abstract java.nio.channels.AsynchronousSocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousSocketChannel shutdownInput() throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousSocketChannel shutdownOutput() throws java.io.IOException; - method public abstract void write(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public final void write(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> write(java.nio.ByteBuffer); - method public abstract void write(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long, ? super A>); - } - public abstract interface ByteChannel implements java.nio.channels.ReadableByteChannel java.nio.channels.WritableByteChannel { } @@ -56148,9 +56086,7 @@ package java.nio.channels { method public static java.nio.channels.ReadableByteChannel newChannel(java.io.InputStream); method public static java.nio.channels.WritableByteChannel newChannel(java.io.OutputStream); method public static java.io.InputStream newInputStream(java.nio.channels.ReadableByteChannel); - method public static java.io.InputStream newInputStream(java.nio.channels.AsynchronousByteChannel); method public static java.io.OutputStream newOutputStream(java.nio.channels.WritableByteChannel); - method public static java.io.OutputStream newOutputStream(java.nio.channels.AsynchronousByteChannel); method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.nio.charset.CharsetDecoder, int); method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.lang.String); method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, java.nio.charset.CharsetEncoder, int); @@ -56169,16 +56105,11 @@ package java.nio.channels { ctor public ClosedSelectorException(); } - public abstract interface CompletionHandler { - method public abstract void completed(V, A); - method public abstract void failed(java.lang.Throwable, A); - } - public class ConnectionPendingException extends java.lang.IllegalStateException { ctor public ConnectionPendingException(); } - public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.MulticastChannel java.nio.channels.ScatteringByteChannel { + public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.ScatteringByteChannel { ctor protected DatagramChannel(java.nio.channels.spi.SelectorProvider); method public abstract java.nio.channels.DatagramChannel bind(java.net.SocketAddress) throws java.io.IOException; method public abstract java.nio.channels.DatagramChannel connect(java.net.SocketAddress) throws java.io.IOException; @@ -56257,40 +56188,14 @@ package java.nio.channels { ctor public IllegalBlockingModeException(); } - public class IllegalChannelGroupException extends java.lang.IllegalArgumentException { - ctor public IllegalChannelGroupException(); - } - public class IllegalSelectorException extends java.lang.IllegalArgumentException { ctor public IllegalSelectorException(); } - public class InterruptedByTimeoutException extends java.io.IOException { - ctor public InterruptedByTimeoutException(); - } - public abstract interface InterruptibleChannel implements java.nio.channels.Channel { method public abstract void close() throws java.io.IOException; } - public abstract class MembershipKey { - ctor protected MembershipKey(); - method public abstract java.nio.channels.MembershipKey block(java.net.InetAddress) throws java.io.IOException; - method public abstract java.nio.channels.MulticastChannel channel(); - method public abstract void drop(); - method public abstract java.net.InetAddress group(); - method public abstract boolean isValid(); - method public abstract java.net.NetworkInterface networkInterface(); - method public abstract java.net.InetAddress sourceAddress(); - method public abstract java.nio.channels.MembershipKey unblock(java.net.InetAddress); - } - - public abstract interface MulticastChannel implements java.nio.channels.NetworkChannel { - method public abstract void close() throws java.io.IOException; - method public abstract java.nio.channels.MembershipKey join(java.net.InetAddress, java.net.NetworkInterface) throws java.io.IOException; - method public abstract java.nio.channels.MembershipKey join(java.net.InetAddress, java.net.NetworkInterface, java.net.InetAddress) throws java.io.IOException; - } - public abstract interface NetworkChannel implements java.nio.channels.Channel { method public abstract java.nio.channels.NetworkChannel bind(java.net.SocketAddress) throws java.io.IOException; method public abstract java.net.SocketAddress getLocalAddress() throws java.io.IOException; @@ -56340,10 +56245,6 @@ package java.nio.channels { method public final int validOps(); } - public class ReadPendingException extends java.lang.IllegalStateException { - ctor public ReadPendingException(); - } - public abstract interface ReadableByteChannel implements java.nio.channels.Channel { method public abstract int read(java.nio.ByteBuffer) throws java.io.IOException; } @@ -56421,10 +56322,6 @@ package java.nio.channels { method public final int validOps(); } - public class ShutdownChannelGroupException extends java.lang.IllegalStateException { - ctor public ShutdownChannelGroupException(); - } - public abstract class SocketChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.NetworkChannel java.nio.channels.ScatteringByteChannel { ctor protected SocketChannel(java.nio.channels.spi.SelectorProvider); method public abstract java.nio.channels.SocketChannel bind(java.net.SocketAddress) throws java.io.IOException; @@ -56460,10 +56357,6 @@ package java.nio.channels { method public abstract int write(java.nio.ByteBuffer) throws java.io.IOException; } - public class WritePendingException extends java.lang.IllegalStateException { - ctor public WritePendingException(); - } - } package java.nio.channels.spi { @@ -56510,15 +56403,6 @@ package java.nio.channels.spi { method protected abstract java.nio.channels.SelectionKey register(java.nio.channels.spi.AbstractSelectableChannel, int, java.lang.Object); } - public abstract class AsynchronousChannelProvider { - ctor protected AsynchronousChannelProvider(); - method public abstract java.nio.channels.AsynchronousChannelGroup openAsynchronousChannelGroup(int, java.util.concurrent.ThreadFactory) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousChannelGroup openAsynchronousChannelGroup(java.util.concurrent.ExecutorService, int) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousServerSocketChannel openAsynchronousServerSocketChannel(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousSocketChannel openAsynchronousSocketChannel(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public static java.nio.channels.spi.AsynchronousChannelProvider provider(); - } - public abstract class SelectorProvider { ctor protected SelectorProvider(); method public java.nio.channels.Channel inheritedChannel() throws java.io.IOException; diff --git a/api/test-current.txt b/api/test-current.txt index 929b7cb72f86..e716292be4da 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -52986,10 +52986,6 @@ package java.nio { package java.nio.channels { - public class AcceptPendingException extends java.lang.IllegalStateException { - ctor public AcceptPendingException(); - } - public class AlreadyBoundException extends java.lang.IllegalStateException { ctor public AlreadyBoundException(); } @@ -52998,68 +52994,10 @@ package java.nio.channels { ctor public AlreadyConnectedException(); } - public abstract interface AsynchronousByteChannel implements java.nio.channels.AsynchronousChannel { - method public abstract void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> read(java.nio.ByteBuffer); - method public abstract void write(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> write(java.nio.ByteBuffer); - } - - public abstract interface AsynchronousChannel implements java.nio.channels.Channel { - method public abstract void close() throws java.io.IOException; - } - - public abstract class AsynchronousChannelGroup { - ctor protected AsynchronousChannelGroup(java.nio.channels.spi.AsynchronousChannelProvider); - method public abstract boolean awaitTermination(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedException; - method public abstract boolean isShutdown(); - method public abstract boolean isTerminated(); - method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); - method public abstract void shutdown(); - method public abstract void shutdownNow() throws java.io.IOException; - method public static java.nio.channels.AsynchronousChannelGroup withCachedThreadPool(java.util.concurrent.ExecutorService, int) throws java.io.IOException; - method public static java.nio.channels.AsynchronousChannelGroup withFixedThreadPool(int, java.util.concurrent.ThreadFactory) throws java.io.IOException; - method public static java.nio.channels.AsynchronousChannelGroup withThreadPool(java.util.concurrent.ExecutorService) throws java.io.IOException; - } - public class AsynchronousCloseException extends java.nio.channels.ClosedChannelException { ctor public AsynchronousCloseException(); } - public abstract class AsynchronousServerSocketChannel implements java.nio.channels.AsynchronousChannel java.nio.channels.NetworkChannel { - ctor protected AsynchronousServerSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider); - method public abstract void accept(A, java.nio.channels.CompletionHandler<java.nio.channels.AsynchronousSocketChannel, ? super A>); - method public abstract java.util.concurrent.Future<java.nio.channels.AsynchronousSocketChannel> accept(); - method public final java.nio.channels.AsynchronousServerSocketChannel bind(java.net.SocketAddress) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousServerSocketChannel bind(java.net.SocketAddress, int) throws java.io.IOException; - method public static java.nio.channels.AsynchronousServerSocketChannel open(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public static java.nio.channels.AsynchronousServerSocketChannel open() throws java.io.IOException; - method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); - method public abstract java.nio.channels.AsynchronousServerSocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; - } - - public abstract class AsynchronousSocketChannel implements java.nio.channels.AsynchronousByteChannel java.nio.channels.NetworkChannel { - ctor protected AsynchronousSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider); - method public abstract java.nio.channels.AsynchronousSocketChannel bind(java.net.SocketAddress) throws java.io.IOException; - method public abstract void connect(java.net.SocketAddress, A, java.nio.channels.CompletionHandler<java.lang.Void, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Void> connect(java.net.SocketAddress); - method public abstract java.net.SocketAddress getRemoteAddress() throws java.io.IOException; - method public static java.nio.channels.AsynchronousSocketChannel open(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public static java.nio.channels.AsynchronousSocketChannel open() throws java.io.IOException; - method public final java.nio.channels.spi.AsynchronousChannelProvider provider(); - method public abstract void read(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public final void read(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> read(java.nio.ByteBuffer); - method public abstract void read(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long, ? super A>); - method public abstract java.nio.channels.AsynchronousSocketChannel setOption(java.net.SocketOption<T>, T) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousSocketChannel shutdownInput() throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousSocketChannel shutdownOutput() throws java.io.IOException; - method public abstract void write(java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public final void write(java.nio.ByteBuffer, A, java.nio.channels.CompletionHandler<java.lang.Integer, ? super A>); - method public abstract java.util.concurrent.Future<java.lang.Integer> write(java.nio.ByteBuffer); - method public abstract void write(java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit, A, java.nio.channels.CompletionHandler<java.lang.Long, ? super A>); - } - public abstract interface ByteChannel implements java.nio.channels.ReadableByteChannel java.nio.channels.WritableByteChannel { } @@ -53076,9 +53014,7 @@ package java.nio.channels { method public static java.nio.channels.ReadableByteChannel newChannel(java.io.InputStream); method public static java.nio.channels.WritableByteChannel newChannel(java.io.OutputStream); method public static java.io.InputStream newInputStream(java.nio.channels.ReadableByteChannel); - method public static java.io.InputStream newInputStream(java.nio.channels.AsynchronousByteChannel); method public static java.io.OutputStream newOutputStream(java.nio.channels.WritableByteChannel); - method public static java.io.OutputStream newOutputStream(java.nio.channels.AsynchronousByteChannel); method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.nio.charset.CharsetDecoder, int); method public static java.io.Reader newReader(java.nio.channels.ReadableByteChannel, java.lang.String); method public static java.io.Writer newWriter(java.nio.channels.WritableByteChannel, java.nio.charset.CharsetEncoder, int); @@ -53097,16 +53033,11 @@ package java.nio.channels { ctor public ClosedSelectorException(); } - public abstract interface CompletionHandler { - method public abstract void completed(V, A); - method public abstract void failed(java.lang.Throwable, A); - } - public class ConnectionPendingException extends java.lang.IllegalStateException { ctor public ConnectionPendingException(); } - public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.MulticastChannel java.nio.channels.ScatteringByteChannel { + public abstract class DatagramChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.ScatteringByteChannel { ctor protected DatagramChannel(java.nio.channels.spi.SelectorProvider); method public abstract java.nio.channels.DatagramChannel bind(java.net.SocketAddress) throws java.io.IOException; method public abstract java.nio.channels.DatagramChannel connect(java.net.SocketAddress) throws java.io.IOException; @@ -53185,40 +53116,14 @@ package java.nio.channels { ctor public IllegalBlockingModeException(); } - public class IllegalChannelGroupException extends java.lang.IllegalArgumentException { - ctor public IllegalChannelGroupException(); - } - public class IllegalSelectorException extends java.lang.IllegalArgumentException { ctor public IllegalSelectorException(); } - public class InterruptedByTimeoutException extends java.io.IOException { - ctor public InterruptedByTimeoutException(); - } - public abstract interface InterruptibleChannel implements java.nio.channels.Channel { method public abstract void close() throws java.io.IOException; } - public abstract class MembershipKey { - ctor protected MembershipKey(); - method public abstract java.nio.channels.MembershipKey block(java.net.InetAddress) throws java.io.IOException; - method public abstract java.nio.channels.MulticastChannel channel(); - method public abstract void drop(); - method public abstract java.net.InetAddress group(); - method public abstract boolean isValid(); - method public abstract java.net.NetworkInterface networkInterface(); - method public abstract java.net.InetAddress sourceAddress(); - method public abstract java.nio.channels.MembershipKey unblock(java.net.InetAddress); - } - - public abstract interface MulticastChannel implements java.nio.channels.NetworkChannel { - method public abstract void close() throws java.io.IOException; - method public abstract java.nio.channels.MembershipKey join(java.net.InetAddress, java.net.NetworkInterface) throws java.io.IOException; - method public abstract java.nio.channels.MembershipKey join(java.net.InetAddress, java.net.NetworkInterface, java.net.InetAddress) throws java.io.IOException; - } - public abstract interface NetworkChannel implements java.nio.channels.Channel { method public abstract java.nio.channels.NetworkChannel bind(java.net.SocketAddress) throws java.io.IOException; method public abstract java.net.SocketAddress getLocalAddress() throws java.io.IOException; @@ -53268,10 +53173,6 @@ package java.nio.channels { method public final int validOps(); } - public class ReadPendingException extends java.lang.IllegalStateException { - ctor public ReadPendingException(); - } - public abstract interface ReadableByteChannel implements java.nio.channels.Channel { method public abstract int read(java.nio.ByteBuffer) throws java.io.IOException; } @@ -53349,10 +53250,6 @@ package java.nio.channels { method public final int validOps(); } - public class ShutdownChannelGroupException extends java.lang.IllegalStateException { - ctor public ShutdownChannelGroupException(); - } - public abstract class SocketChannel extends java.nio.channels.spi.AbstractSelectableChannel implements java.nio.channels.ByteChannel java.nio.channels.GatheringByteChannel java.nio.channels.NetworkChannel java.nio.channels.ScatteringByteChannel { ctor protected SocketChannel(java.nio.channels.spi.SelectorProvider); method public abstract java.nio.channels.SocketChannel bind(java.net.SocketAddress) throws java.io.IOException; @@ -53388,10 +53285,6 @@ package java.nio.channels { method public abstract int write(java.nio.ByteBuffer) throws java.io.IOException; } - public class WritePendingException extends java.lang.IllegalStateException { - ctor public WritePendingException(); - } - } package java.nio.channels.spi { @@ -53438,15 +53331,6 @@ package java.nio.channels.spi { method protected abstract java.nio.channels.SelectionKey register(java.nio.channels.spi.AbstractSelectableChannel, int, java.lang.Object); } - public abstract class AsynchronousChannelProvider { - ctor protected AsynchronousChannelProvider(); - method public abstract java.nio.channels.AsynchronousChannelGroup openAsynchronousChannelGroup(int, java.util.concurrent.ThreadFactory) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousChannelGroup openAsynchronousChannelGroup(java.util.concurrent.ExecutorService, int) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousServerSocketChannel openAsynchronousServerSocketChannel(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public abstract java.nio.channels.AsynchronousSocketChannel openAsynchronousSocketChannel(java.nio.channels.AsynchronousChannelGroup) throws java.io.IOException; - method public static java.nio.channels.spi.AsynchronousChannelProvider provider(); - } - public abstract class SelectorProvider { ctor protected SelectorProvider(); method public java.nio.channels.Channel inheritedChannel() throws java.io.IOException; |