From 8aad32718bf5177d4378054024e3cb133613b6b6 Mon Sep 17 00:00:00 2001 From: jmehrens Date: Tue, 13 Feb 2024 15:14:49 -0600 Subject: [PATCH] Illegal reflective access by com.sun.mail.util.SocketFetcher #124 Co-authored-by: jmehrens Co-authored-by: icu5545 Signed-off-by: jmehrens --- .../main/java/org/eclipse/angus/mail/util/SocketFetcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/eclipse/angus/mail/util/SocketFetcher.java b/core/src/main/java/org/eclipse/angus/mail/util/SocketFetcher.java index afe0701..5668be1 100644 --- a/core/src/main/java/org/eclipse/angus/mail/util/SocketFetcher.java +++ b/core/src/main/java/org/eclipse/angus/mail/util/SocketFetcher.java @@ -1048,11 +1048,11 @@ public boolean verify(String server, SSLSession ssls) { } catch (CertificateParsingException ignore) { logger.log(Level.FINEST, server, ignore); } catch (IOException spue) { - throw new UncheckedIOException(spue); + throw new UncheckedIOException(toString() + " DENY", spue); } if (cert == null) { - throw new UncheckedIOException( + throw new UncheckedIOException(toString() + " DENY", new SSLPeerUnverifiedException("null")); }