I found this by accident while looking at a different unexpected behavior within my system.
While handling IOException, the HttpBackOffIOExceptionHandler does not rethrow an exception and also does not reset the thread interrupted bit after catching InterruptedException.
See article with explanation: https://dzone.com/articles/why-do-we-need-threadcurrentthreadinterrupt-in-int
Environment details
- Specify the API: GCS objects list
- OS type and version: Debian
- Java version: Java 8
- google-http-client version(s): 1.34.2
I found this by accident while looking at a different unexpected behavior within my system.
google-http-java-client/google-http-client/src/main/java/com/google/api/client/http/HttpBackOffIOExceptionHandler.java
Line 100 in 8760ff0
While handling IOException, the HttpBackOffIOExceptionHandler does not rethrow an exception and also does not reset the thread interrupted bit after catching InterruptedException.
See article with explanation: https://dzone.com/articles/why-do-we-need-threadcurrentthreadinterrupt-in-int
Environment details