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 13, 2024
1 parent e0f5430 commit 8ab9ffd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,9 @@ public void testSSLHostnameVerifierClassCastException() {

@Test
public void testSSLHostnameVerifierRemovedAlias() {
//Reserve all identifiers that don't contain a package
//For future use by Angus Mail.
//Ensure removed aliases never fallback to classloading.
//Reserve all identifiers that don't contain a package for future use by
//Angus Mail. Ensure removed aliases never fallback to classloading as
//that might find a malicious class of the same name as the alias.
try {
testSSLHostnameVerifierClass("localhost", "foobarbaz");
throw new AssertionError("No exception");
Expand Down

0 comments on commit 8ab9ffd

Please sign in to comment.