In the getApplicationProtocols() method in javax.net.ssl.SSLParameters, the 
return statement says that "The array is ordered based on protocol preference, 
with protocols[0] being the most preferred.". However, there is no "protocols" 
variable in this method.

The update is a minor correction so that the specification is not rely on the 
"protocols" variable.

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

Commit messages:
 - 8280363: Minor correction of ALPN specification in SSLParameters

Changes: https://git.openjdk.java.net/jdk/pull/7152/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7152&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8280363
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7152.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7152/head:pull/7152

PR: https://git.openjdk.java.net/jdk/pull/7152

Reply via email to