Skip to content

Commit

Permalink
Illegal reflective access by com.sun.mail.util.SocketFetcher #124
Browse files Browse the repository at this point in the history
Co-authored-by: jmehrens <jason_mehrens@hotmail.com>
Co-authored-by: icu5545 <icu5545@github.com>
Signed-off-by: jmehrens <jason_mehrens@hotmail.com>
  • Loading branch information
jmehrens committed Feb 8, 2024
1 parent 70fa245 commit 1df65e7
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -632,13 +632,6 @@ private static void configureSSLSocket(Socket socket, String host,
if (!eia.isEmpty()) {
SSLParameters params = sslsocket.getSSLParameters();
params.setEndpointIdentificationAlgorithm(eia);

List<SNIServerName> src = params.getServerNames();
if (src.isEmpty()) {
SNIHostName shn = new SNIHostName(host);
params.setServerNames(Arrays.asList(shn));
}

sslsocket.setSSLParameters(params);
logger.log(Level.FINER,
"Endpoint identification algorithm {0}", eia);
Expand Down

0 comments on commit 1df65e7

Please sign in to comment.