RFR: 8367059: DTLS: loss of NewSessionTicket message results in handshake failure [v5]

Artur Barashev abarashev at openjdk.org
Mon Oct 13 15:07:40 UTC 2025


On Mon, 13 Oct 2025 13:26:29 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

>> Artur Barashev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   The fix and unit test for session resumption case
>
> test/jdk/javax/net/ssl/DTLS/DTLSOverDatagram.java line 630:
> 
>> 628:     static int findAvailablePort() {
>> 629:         try (var socket = new DatagramSocket(0)) {
>> 630:             return socket.getLocalPort();
> 
> You can use a hardcoded number here; it doesn't need to correspond to a real socket.

Done, thanks!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27677#discussion_r2426616921


More information about the security-dev mailing list