davidmoten / subethasmtp

SubEtha SMTP is a Java library for receiving SMTP mail
Other
149 stars 40 forks source link

WARNING: An illegal reflective access operation has occurred #129

Closed arrowwind closed 7 months ago

arrowwind commented 7 months ago

I am using jdk11.

It shows the following warning.

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.eclipse.angus.mail.util.SocketFetcher (file:/D:/Maven%20Rep/org/eclipse/angus/angus-mail/2.0.2/angus-mail-2.0.2.jar) to method sun.security.util.HostnameChecker.getInstance(byte) WARNING: Please consider reporting this to the maintainers of org.eclipse.angus.mail.util.SocketFetcher WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

To fix it. Please update the dependency package 'angus-mail'.

org.eclipse.angus angus-mail 2.0.3
davidmoten commented 7 months ago

Thanks I'll have a look now

davidmoten commented 7 months ago

I've released 7.0.2 to Maven Central that fixes this, thanks for the report and the fix!