src/share/classes/sun/rmi/transport/tcp/TCPChannel.java
Print this page
*** 62,72 ****
private final TCPEndpoint ep;
/** transport for this channel */
private final TCPTransport tr;
/** list of cached connections */
private final List<TCPConnection> freeList =
! new ArrayList<TCPConnection>();
/** frees cached connections that have expired (guarded by freeList) */
private Future<?> reaper = null;
/** using multiplexer (for bi-directional applet communication */
private boolean usingMultiplexer = false;
--- 62,72 ----
private final TCPEndpoint ep;
/** transport for this channel */
private final TCPTransport tr;
/** list of cached connections */
private final List<TCPConnection> freeList =
! new ArrayList<>();
/** frees cached connections that have expired (guarded by freeList) */
private Future<?> reaper = null;
/** using multiplexer (for bi-directional applet communication */
private boolean usingMultiplexer = false;
*** 478,488 ****
/** transport that will handle message on accepted connections */
private TCPTransport transport;
/** queue of connections to be accepted */
! private List<Connection> queue = new ArrayList<Connection>();
/** thread ID counter */
private static int threadNum = 0;
/**
--- 478,488 ----
/** transport that will handle message on accepted connections */
private TCPTransport transport;
/** queue of connections to be accepted */
! private List<Connection> queue = new ArrayList<>();
/** thread ID counter */
private static int threadNum = 0;
/**