hg: jdk/sandbox: 8230310: SocksSocketImpl should handle the IllegalArgumentException thrown by ProxySelector.select usage
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Fri Aug 30 11:00:18 UTC 2019
Changeset: 6bee0a3d2a3a
Author: jpai
Date: 2019-08-28 20:05 +0530
URL: https://hg.openjdk.java.net/jdk/sandbox/rev/6bee0a3d2a3a
8230310: SocksSocketImpl should handle the IllegalArgumentException thrown by ProxySelector.select usage
Summary: Catch the IAE thrown by ProxySelector.select and wrap it into a IOException
Reviewed-by: dfuchs
! src/java.base/share/classes/java/net/SocksSocketImpl.java
+ test/jdk/java/net/Socks/SocksSocketImplTest.java
More information about the jdk-sandbox-changes
mailing list