RFR: 8348986: Improve coverage of enhanced exception messages [v12]
Michael McMahon
michaelm at openjdk.org
Thu May 29 09:02:56 UTC 2025
On Wed, 28 May 2025 23:13:21 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:
> here are a few files with IOException, UnknownHostException and MalformedURLException, which are worth reviewing for Exception that may have been missed
>
> IOEXception:
>
> open/src/java.base/share/classes/sun/net/www/protocol/https/HttpsClient.java Ln 562
>
> open/src/java.base/share/classes/sun/security/x509/IPAddressName.java
>
> open/src/java.base/share/classes/sun/security/x509/URIName.java
>
> open/src/java.base/share/classes/sun/security/x509/RDN.java
>
> open/src/java.base/share/classes/java/util/jar/JarFile.java
>
> UnknownHostException
>
> open/src/java.base/share/classes/sun/nio/ch/SocketAdaptor.java
>
> open/src/java.base/share/classes/sun/nio/ch/NioSocketImpl.java
>
> MalformedURLException
>
> open/src/java.base/share/classes/sun/net/www/protocol/https/HttpsURLConnectionImpl.java
>
> open/src/java.base/share/classes/java/net/URL.java — Invalid port
>
> open/src/java.naming/share/classes/com/sun/jndi/ldap/LdapURL.java
>
> open/src/java.naming/share/classes/com/sun/jndi/toolkit/url/Uri.java
>
> open/src/java.rmi/share/classes/java/rmi/Naming.java
Thanks, I will take another look at all these cases and update any that I agree need to be included.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23929#issuecomment-2918771547
More information about the net-dev
mailing list