Skip to content

Commit

Permalink
Illegal reflective access by com.sun.mail.util.SocketFetcher eclipse-…
Browse files Browse the repository at this point in the history
…ee4j#124

Co-authored-by: jmehrens <[email protected]>
Co-authored-by: icu5545 <[email protected]>
Signed-off-by: jmehrens <[email protected]>
  • Loading branch information
jmehrens committed Feb 13, 2024
1 parent 8ab9ffd commit 8e3dd93
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,9 @@ private static boolean matchServer(String server, String name) {
* The verify method will throw unchecked exceptions instead of returning
* false. This violation of specification is acceptable because this class
* is private and doesn't escape the SocketFetcher.
*
* Making factory methods a singleton is pointless because it should only
* be used in rare cases.
*
* This class will print --illegal-access=warn console warnings on JDK9
* and may require: -add-opens 'java.base/sun.security.util=ALL-UNNAMED'
Expand Down

0 comments on commit 8e3dd93

Please sign in to comment.