[java] Avoiding re-throwing interrupted exception during host name resolution
@@ -61,10 +61,6 @@ private static String resolveHostName() {
host = reader.readLine();
}
}
- } catch (InterruptedException e) {
- log.log(WARNING, "Failed to resolve host name", e);
- Thread.currentThread().interrupt();
- throw new RuntimeException(e);
} catch (Throwable e) {
// fall through
log.log(WARNING, "Failed to resolve host name", e);
