On Mon, 6 Apr 2026 15:55:33 GMT, Matthew Donovan <[email protected]> wrote:
> According to RFC 7301, the client sends the server a list of available > application protocols and the server -- using a list of prioritized protocols > -- chooses which protocol to use and sends it back to the client. > > The logic in expectedNegoAppProtocol prioritizes the client protocol first. > > This PR updates the method to choose the first server-supported protocol that > the client also supports. LGTM, just copyright nit test/jdk/javax/net/ssl/TLSCommon/interop/Utilities.java line 2: > 1: /* > 2: * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. Suggestion: * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. ------------- PR Review: https://git.openjdk.org/jdk/pull/30587#pullrequestreview-4089564255 PR Review Comment: https://git.openjdk.org/jdk/pull/30587#discussion_r3064210319
