jakartaee / mail-api

Jakarta Mail Specification project
https://jakartaee.github.io/mail-api
Other
244 stars 101 forks source link

Multipart performs blocking call in every instantiation #699 #716

Open jbescos opened 7 months ago

jbescos commented 7 months ago

https://github.com/jakartaee/mail-api/issues/699

It will try to get the StreamProvider from the session of the Message.

jbescos commented 7 months ago

@jmehrens I am redesigning it, because I found more usages of StreamProvider. I moved the getStreamProvider to the Part interface.

jmehrens commented 7 months ago

Need to add entry to https://github.com/jakartaee/mail-api/blob/master/doc/release/CHANGES.txt

jbescos commented 7 months ago

Need to add entry to https://github.com/jakartaee/mail-api/blob/master/doc/release/CHANGES.txt

Done

jbescos commented 7 months ago

Lets wait for @lukasj review too. My impression is this requires the new version 2.2.0, and we will need other PR before to upgrade to that version.

jmehrens commented 7 months ago

Side note: we'll have to review some of the Angus packages that also extend the classes here. DSN is an example. I glossed over it and I think it is a case of no changes need but something we should keep an eye on.