[MGNLUI-7443] Don't use javax.activation for mimetype matching Created: 22/Aug/22 Updated: 22/Aug/22 |
|
| Status: | Open |
| Project: | Magnolia UI |
| Component/s: | framework |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Mikaël Geljić | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Description |
|
Since Since JDK9, this is no longer part of the standard JDK distribution, and the only Magnolia dependency to the old activation framework is transitively through mail module / javax.mail (now jakarta.mail, v2 change of namespace would break here). So we'd rather avoid it, in favor of a more general purpose library for this use case, most likely Guava or apache commons. |