On Thu, 22 Dec 2022 18:59:14 GMT, Xue-Lei Andrew Fan <[email protected]> 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