test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java
changeset 51603 d0b71f6163e1
parent 50768 68fa3d4026ea
child 55353 946f7f2d321c
child 58678 9cf78a70fa4f
--- a/test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java	Fri Aug 31 10:00:22 2018 +0800
+++ b/test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java	Fri Aug 31 10:32:47 2018 +0800
@@ -220,12 +220,12 @@
     /*
      * What's the server port?  Use any free port by default
      */
-    private volatile int serverPort = 0;
+    protected volatile int serverPort = 0;
 
     /*
      * Define the server side of the test.
      */
-    private void doServerSide() throws Exception {
+    protected void doServerSide() throws Exception {
         // kick start the server side service
         SSLContext context = createServerSSLContext();
         SSLServerSocketFactory sslssf = context.getServerSocketFactory();
@@ -286,7 +286,7 @@
     /*
      * Define the client side of the test.
      */
-    private void doClientSide() throws Exception {
+    protected void doClientSide() throws Exception {
 
         // Wait for server to get started.
         //