Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate AddressException from javax.mail to jakarta in FormatChecker.java #16

Open
ghost opened this issue Jan 7, 2022 · 2 comments
Open

Comments

@ghost
Copy link

ghost commented Jan 7, 2022

As you may know the package javax.mail has not been updated for a while (Maven Central shows last release in 2018), more and more projects are migrating over to Jakarta.
In FormatChecker an AddressException from javax.mail is being used, which is causing problems if software already has moved on to use Jakarta. The following exception is being thrown:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/internet/AddressException
It would be appreciated, if you could migrate onto newer library.

@cardamon
Copy link

As far as I can see, FormatChecker has undergone some work and no longer seems to be using said exception. In fact, is it possible the entire com.sun.mail:javax.mail artifact is no longer used, ie. can this line:

implementation 'com.sun.mail:javax.mail:1.6.2'

simply be removed?

@jimblackler
Copy link
Owner

Yep. Thanks all.

f7d59a0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants