RFR: 8282723: Add constructors taking a cause to JSSE exceptions [v2]

Bradford Wetmore wetmore at openjdk.java.net
Mon Mar 7 20:33:01 UTC 2022


On Mon, 7 Mar 2022 19:42:47 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
>
> Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   typo correction

src/java.base/share/classes/sun/security/ssl/SSLTrafficKeyDerivation.java line 158:

> 156:             } catch (GeneralSecurityException gse) {
> 157:                 throw new SSLHandshakeException(
> 158:                         "Could not generate secret", gse);

I can't quite tell given the coloring, but did this get changed into a tab?

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

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



More information about the security-dev mailing list