dev@glassfish.java.net

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

From: Fabian Ritzmann <Fabian.Ritzmann_at_Sun.COM>
Date: Mon, 25 Aug 2008 10:29:47 +0300

On 23. Aug 2008, at 05:39, V B Kumar Jayanti wrote:
> Bill Shannon wrote:
>>
>> Just to be clear, none of the classes in com.sun.mail.util were
>> *intended* for public use. The intent was that they were for use
>> by the JavaMail implementation only. While most of them are unlikely
>> to change incompatibly, some of them do. Depending on
>> CRLFOutputStream
>> is probably relatively safe, but if you want to be really clean you
>> should clone the source code into your own package.
>>
>> Note that this JavaMail FAQ entry
>> http://java.sun.com/products/javamail/FAQ.html#repres
>> provides the source code to CRLFOutputStream with the intent that
>> people
>> who need it should copy it. (Yes, it needs an updated license.)
>>
> We will make a clone of this in our code. Is it sufficient if we put
> GlassFish License on it ?.

Please let me know once this change has been integrated so that we can
remove that import from our OSGi manifest.

Fabian