commit | 11823c0942e6f9756b0a8bcfec386d9a64fc8a9a | [log] [tgz] |
---|---|---|
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Tue Jan 05 13:41:29 2016 +0000 |
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Fri Jan 08 11:56:52 2016 +0000 |
tree | 73893895190b93113d20badb91a9e8965a38fd0e | |
parent | f043b66397777017ee357a7a5100f18194ba3b65 [diff] |
Make sun.nio.ch.Net#connect throw ConnectException on error openJdk7 SocketChannelImpl#connect throws SocketException when the connect syscall fails. Pre-enso implementation thrown ConnectException in this case. This change updates enso code to throw the ConnectException. Fixed #test_56684 test by trying to connect to 255.255.255.255, which produces ENETUNREACH, like the pre-enso mock. Bug: 25898575 Change-Id: I74212d03189a8d4a755c7cf328d5955368b32efc