RFR: 8264152: javax/net/ssl/DTLS/RespondToRetransmit.java timed out
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Tue Apr 13 16:19:07 UTC 2021
On Tue, 13 Apr 2021 13:19:17 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:
> test/jdk/javax/net/ssl/DTLS/RespondToRetransmit.java has been seen to fail intermittently.
> The server side is binding to the wildcard/localhost address which has been a source of instability in many tests. Binding to loopback address fixes the intermittent failures.
>
> In addition, other changes were introduced in the tests to improve code readability:
> - Reduce duplication by reusing code
> - Replace if statements with Switch expressions
> - Make fields final when appropriate
> - Convert ServerCallable and ClientCallable to records
> - Replace Byte.valueOf with Byte.parseByte to avoid redundant boxing
Marked as reviewed by xuelei (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/3466
More information about the security-dev
mailing list