Skip to content

Commit f1191a7

Browse files
committed
[java] Avoiding re-throwing interrupted exception during host name resolution
1 parent 28070d2 commit f1191a7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

java/src/org/openqa/selenium/net/HostIdentifier.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ private static String resolveHostName() {
6161
host = reader.readLine();
6262
}
6363
}
64-
} catch (InterruptedException e) {
65-
log.log(WARNING, "Failed to resolve host name", e);
66-
Thread.currentThread().interrupt();
67-
throw new RuntimeException(e);
6864
} catch (Throwable e) {
6965
// fall through
7066
log.log(WARNING, "Failed to resolve host name", e);

0 commit comments

Comments
 (0)