I have two threads in Java.
First thread is closing a bufferedreader (br.close())
When the second thread does a read on the same reader I get an IOException (Stream Closed)
I get this exception even if I use br.ready()
Is there a way to know if the stream is already closed?