hg: jdk/jdk: 8230310: SocksSocketImpl should handle the IllegalArgumentException thrown by ProxySelector.select usage

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Fri Aug 30 10:56:44 UTC 2019


Changeset: 6bee0a3d2a3a
Author:    jpai
Date:      2019-08-28 20:05 +0530
URL:       https://hg.openjdk.java.net/jdk/jdk/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-changes mailing list