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

Rename resource files so JakartaMail and JavaMail can co-exist #151

Open
jmehrens opened this issue Jul 14, 2024 · 0 comments
Open

Rename resource files so JakartaMail and JavaMail can co-exist #151

jmehrens opened this issue Jul 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jmehrens
Copy link
Contributor

Reported by https://github.com/jodastephen in jakartaee/mail-api#527 (comment)

That the content handlers from the old com.sun JakartaMail get mixed with the handlers from org.eclipse in the new JakartaMail which results in a ClassCastException.

We should consider renaming resources in META-INF:

  1. javamail.charset.map -> jakarta.charset.map
  2. javamail.default.address.map -> jakarta.charset.map
  3. mailcap -> jakarta.mailcap
  4. TODO update other resources that we probe for to use jakarta namespace.

This is something that should be considered for 2.1.X release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant