RFR: 8201778: Speed up test javax/net/ssl/DTLS/PacketLossRetransmission.java [v2]

Daniel Jeliński djelinski at openjdk.org
Mon Sep 8 07:48:12 UTC 2025


On Mon, 8 Sep 2025 07:24:15 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

>> test/jdk/javax/net/ssl/DTLS/PacketLossRetransmission.java line 55:
>> 
>>> 53:  * @run main/othervm PacketLossRetransmission server 2 server_hello
>>> 54:  * @run main/othervm PacketLossRetransmission server 3 hello_verify_request
>>> 55:  * @run main/othervm -Djdk.tls.client.enableSessionTicketExtension=false PacketLossRetransmission server 4 new_session_ticket
>> 
>> This one is odd.
>> 
>> With `enableSessionTicketExtension=false`, the message is not sent. With the default setting of true, the message is sent, lost, and then the handshake fails with:
>> 
>> javax.net.ssl.SSLHandshakeException: (decrypt_error) The Finished message cannot be verified.
>> 
>> This is a bug.
>> 
>> Could you comment out the line instead? Something like:
>> 
>> @comment run main/othervm PacketLossRetransmission server 4 new_session_ticket
>
> actually let me file a bug for this...

[JDK-8367059](https://bugs.openjdk.org/browse/JDK-8367059)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27093#discussion_r2329414272


More information about the security-dev mailing list