--- a/jdk/src/java.base/share/classes/sun/security/ssl/SSLServerSocketImpl.java Wed Dec 02 03:29:49 2015 +0000
+++ b/jdk/src/java.base/share/classes/sun/security/ssl/SSLServerSocketImpl.java Wed Dec 02 03:37:29 2015 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -92,6 +92,9 @@
Collection<SNIMatcher> sniMatchers =
Collections.<SNIMatcher>emptyList();
+ // Configured application protocol values
+ String[] applicationProtocols = new String[0];
+
/*
* Whether local cipher suites preference in server side should be
* honored during handshaking?
@@ -311,7 +314,7 @@
params.setAlgorithmConstraints(algorithmConstraints);
params.setSNIMatchers(sniMatchers);
params.setUseCipherSuitesOrder(preferLocalCipherSuites);
-
+ params.setApplicationProtocols(applicationProtocols);
return params;
}
@@ -331,6 +334,7 @@
if (matchers != null) {
sniMatchers = params.getSNIMatchers();
}
+ applicationProtocols = params.getApplicationProtocols();
}
/**