This follows from
TIOStreamTransaport.isOpen changed to be
but constructors TIOStreamTransaport(InputStream) and TIOStreamTransaport(OutputStream) leave one of inputStream_ or outputStream_ null.
This makes isOpen false immediately, no close() called. open() does not change the state of object.
is prints false both times.
It should be:
or an explicit flag for the open/close state but inputStream_ != null || outputStream_ != null; is enough given the current close implementation.