[jdk17u-dev] RFR: 8328608: Multiple NewSessionTicket support for TLS [v2]
Goetz Lindenmaier
goetz at openjdk.org
Thu Feb 26 14:04:08 UTC 2026
On Thu, 26 Feb 2026 10:29:11 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:
>> Goetz Lindenmaier has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Simplify if condition
>
> src/java.base/share/classes/sun/security/util/Cache.java line 433:
>
>> 431: } else {
>> 432: CacheEntry<K, V> entry = cacheMap.get(key);
>> 433: if (entry != null && entry instanceof QueueCacheEntry<K, V>) {
>
> No need to check for != null, since instanceof would fail if entry is null anyway.
Thanks for pointing this out. Fixed
-------------
PR Review Comment: https://git.openjdk.org/jdk17u-dev/pull/4276#discussion_r2859207799
More information about the jdk-updates-dev
mailing list