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

Weijun Wang weijun at openjdk.org
Wed Sep 14 19:49:01 UTC 2022


On Wed, 14 Sep 2022 03:14:23 GMT, Mark Powers <mpowers at openjdk.org> wrote:

>> src/java.base/share/classes/sun/security/ssl/SSLExtensions.java line 307:
>> 
>>> 305:                                                     // extension_data length(2)
>>> 306:                 }
>>> 307:                 encodedLength += encoded.length + 4;
>> 
>> I think the two comment lines above should follow.
>
> Sure that looks right?

Seems so.

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

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



More information about the security-dev mailing list