We have a javax.mail
dependency (here’s its latest version). It has a class called javax.mail.internet.InternetAddress
which has this import
import com.sun.mail.util.PropUtil;
Here’s the only place it’s used
private static final boolean ignoreBogusGroupName = PropUtil.getBooleanSystemProperty("mail.mime.address.ignorebogusgroupname", true);
We have an OpenJDK-based JDK distribution. It doesn’t have com.sun.mail
at all. It seems OpenJDK 8 doesn’t have it either (at any rate, I downloaded the archive, manually inspected its contents and didn’t find one)
InternetAddress
from jakarta.mail
doesn’t have such an import (jars), it uses jakarta.mail.internet.MimeUtility
instead. But migrating to jakarta appears risky (or at least troublesome, I remember the pain of transitioning to jakarta.servlet
)
Where could we get com.sun.mail
from (or otherwise solve this problem)?
Wacage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
4