dev@glassfish.java.net

Re: [v3] Metro dependency on com.sun.mail.util

From: Fabian Ritzmann <Fabian.Ritzmann_at_Sun.COM>
Date: Fri, 22 Aug 2008 11:14:58 +0300

On 22. Aug 2008, at 11:01, V B Kumar Jayanti wrote:
> Fabian Ritzmann wrote:
>
>> I can try and chase down what piece(s) of Metro exactly is
>> depending on com.sun.mail.util if that helps?
>>
> XWSS uses it :
> ./com/sun/xml/wss/impl/c14n/TextPlainCanonicalizer.java:import
> com.sun.mail.util.CRLFOutputStream;
>
> May be we can internalize this class within XWSS to avoid the
> dependency.

I see that XWSS has several dependencies on javax.mail as well. While
getting rid of a dependency on an internal class is a good thing, we
would still depend on the mail bundle. I think from the Metro point of
view, the benefits of removing the dependency on this one package are
negligible.

Fabian