--- old/src/java.base/share/classes/javax/net/ssl/SSLParameters.java 2018-12-06 17:25:47.433318522 -0500 +++ new/src/java.base/share/classes/javax/net/ssl/SSLParameters.java 2018-12-06 17:25:47.261317669 -0500 @@ -668,7 +668,7 @@ String[] tempProtocols = protocols.clone(); for (String p : tempProtocols) { - if (p == null || p.equals("")) { + if (p == null || p.isEmpty()) { throw new IllegalArgumentException( "An element of protocols was null/empty"); }