Index: TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r09afc481ffe35b4e50a902c00b4a7c155c3d61f1 --- TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java (.../Call.java) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java (.../Call.java) (revision 09afc481ffe35b4e50a902c00b4a7c155c3d61f1) @@ -31,8 +31,11 @@ import java.text.SimpleDateFormat; import java.util.Date; +import javax.net.ssl.HostnameVerifier; +import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.KeyManager; import javax.net.ssl.SSLContext; +import javax.net.ssl.SSLSession; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; @@ -45,8 +48,6 @@ import com.meterware.httpunit.WebForm; import com.meterware.httpunit.WebRequest; import com.meterware.httpunit.WebResponse; -import com.sun.net.ssl.HostnameVerifier; -import com.sun.net.ssl.HttpsURLConnection; /** * @author Fei Yang, Marcin Cieslak @@ -145,7 +146,7 @@ HostnameVerifier hv = new HostnameVerifier() { @Override - public boolean verify(String urlHostName, String other) { + public boolean verify(String hostname, SSLSession session) { return true; } }; Index: lams_tool_zoom/src/java/org/lamsfoundation/lams/tool/zoom/service/ZoomService.java =================================================================== diff -u -r266434d5ec15cc4026c93a740c3110c046b1d88a -r09afc481ffe35b4e50a902c00b4a7c155c3d61f1 --- lams_tool_zoom/src/java/org/lamsfoundation/lams/tool/zoom/service/ZoomService.java (.../ZoomService.java) (revision 266434d5ec15cc4026c93a740c3110c046b1d88a) +++ lams_tool_zoom/src/java/org/lamsfoundation/lams/tool/zoom/service/ZoomService.java (.../ZoomService.java) (revision 09afc481ffe35b4e50a902c00b4a7c155c3d61f1) @@ -81,7 +81,6 @@ import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; -import sun.net.www.protocol.https.HttpsURLConnectionImpl; /** * An implementation of the IZoomService interface. @@ -807,8 +806,8 @@ private static void setRequestMethod(HttpURLConnection connection, String method) { try { final Object target; - if (connection instanceof HttpsURLConnectionImpl) { - final Field delegate = HttpsURLConnectionImpl.class.getDeclaredField("delegate"); + if (connection instanceof HttpsURLConnection) { + final Field delegate = HttpsURLConnection.class.getDeclaredField("delegate"); delegate.setAccessible(true); target = delegate.get(connection); } else {