davidmoten / subethasmtp

SubEtha SMTP is a Java library for receiving SMTP mail

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WARNING: An illegal reflective access operation has occurred

arrowwind opened this issue · comments

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

Thanks I'll have a look now

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