RFR: JDK-8291509 Minor cleanup could be done in sun.security [v6]

Weijun Wang weijun at openjdk.org
Thu Sep 8 15:10:03 UTC 2022


On Fri, 2 Sep 2022 18:48:32 GMT, Mark Powers <mpowers at openjdk.org> wrote:

>> https://bugs.openjdk.org/browse/JDK-8291509
>
> Mark Powers has updated the pull request incrementally with one additional commit since the last revision:
> 
>   white space

src/java.base/share/classes/sun/security/ssl/CertificateMessage.java line 610:

> 608:             X509TrustManager tm = chc.sslContext.getX509TrustManager();
> 609: 
> 610:             // Find the key exchange algorithm used.

Not a native English speaker, but I find "find out" better.

src/java.base/share/classes/sun/security/ssl/DTLSRecord.java line 40:

> 38:      * The size of the header plus the max IV length
> 39:      */
> 40:     int    headerPlusMaxIVSize =

Maybe join the next line? Same below.

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

PR: https://git.openjdk.org/jdk/pull/9972



More information about the security-dev mailing list