RFR: 8298381: Improve handling of session tickets for multiple SSLContexts [v4]
Volker Simonis
simonis at openjdk.org
Fri Dec 23 10:29:56 UTC 2022
On Thu, 22 Dec 2022 18:59:14 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:
>> Volker Simonis has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Moved stateless key logic from SSLContextImpl to SSLSessionContextImpl and addressed comments by @XueleiFan and @ascarpino
>
> src/java.base/share/classes/sun/security/ssl/SSLSessionContextImpl.java line 97:
>
>> 95: currentKeyID = this.hashCode();
>> 96: } else {
>> 97: keyHashMap = null;
>
> I may use an unmodifiable empty map so that we don't have to worry about null pointer exception.
>
> `keyHashMap = Map.of();`
Done.
-------------
PR: https://git.openjdk.org/jdk/pull/11590
More information about the security-dev
mailing list