RFR: 8282723: Add constructors taking a cause to JSSE exceptions

Bradford Wetmore wetmore at openjdk.java.net
Mon Mar 7 19:24:04 UTC 2022


On Mon, 7 Mar 2022 07:52:29 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

> Please review this small API enhancement to add the usual constructors taking a cause to javax.net.ssl exceptions.  The use of initCause in the JSSE implementation code is updated to use the new constructors accordingly.
> 
> Please review the CSR: https://bugs.openjdk.java.net/browse/JDK-8282724

src/java.base/share/classes/javax/net/ssl/SSLException.java line 52:

> 50:      */
> 51:     public SSLException(String reason)
> 52:     {

Thanks for changing the style.  I've always hated the extra vertical space.  :)

-------------

PR: https://git.openjdk.java.net/jdk/pull/7722



More information about the security-dev mailing list