Skip to content

Commit 6f65755

Browse files
msimacekcosminbasca
authored andcommitted
Fix socket transient
1 parent 45705b5 commit 6f65755

File tree

1 file changed

+2
-1
lines changed
  • graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test

1 file changed

+2
-1
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/SocketTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,8 @@ private UniversalSockAddr createUsa(FamilySpecificSockAddr src) {
10931093
try {
10941094
return lib.createUniversalSockAddrUnix(posixSupport, unixSockAddr);
10951095
} catch (InvalidUnixSocketPathException e) {
1096-
throw new RuntimeException(e);
1096+
assumeNoException(e);
1097+
return null; // unreachable
10971098
}
10981099
} else {
10991100
throw new AssertionError("Unexpected subclass of FamilySpecificSockAddr: " + src.getClass().getName());

0 commit comments

Comments
 (0)