> If InterruptedException was thrown by JRE it alone means that > interrupted flag has been cleared. So Thread.interrupted() call is a > NOOP. > > (Effectively the interruption state means "to interrupt the next > wait() etc. call immediately when they are called". When the actual > interruption happens the exception is created and the flag is > cleared.) > > To propagate the interruption state the code would be > > if (propagate) { > Thread.currentThread().interrupt(); > } [Filip Hanik] You are correct. I will adjust this. > > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org