[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT javax.mail



On Sun, 21 Jun 2020, Emmanuel Bourg wrote:

> Le 21/06/2020 à 01:23, Thorsten Glaser a écrit :
> 
> > WTF, jakarta-mail?
> > 
> > I just switched from javax.mail:javax.mail-api 1.4.7 to
> > com.sun.mail:javax.mail 1.6.2… and now see both
> > com.sun.mail:jakarta.mail and jakarta.mail:jakarta.mail-api
> > in versions 1.6.5 and am again confused by the move and by
> > which I should use… (I assume they are API-compatible enough
> > to javax.mail), do you have any extra info about these?
> 
> The 1.6.x line is still the same API, but starting with the upcoming
> version 2.0 the javax.mail package becomes jakarta.mail (the structure

OK.

> of the API remains the same). They've messed a bit with the 1.6.5
> release, it uses an artifact named 'jakarta' but the classes are still
> in the javax.mail package (probably due to a trademark constraint
> following the move to Eclipse).

Probably due to API compatibility.

So, com.sun.mail:jakarta.mail or jakarta.mail:jakarta.mail-api?

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg


Reply to: