In TCPTransport.executeAcceptLoop, in the catch block, if Throwable is not an instanceof Error, it's possible for a ClassCastException to occur as the test may try to cast the Throwable to an Error. The java/rmi/transport/acceptLoop/CloseServerSocketOnTermination.java test exposes this issue
|