dev@glassfish.java.net

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

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Fri, 22 Aug 2008 20:02:38 -0700

V B Kumar Jayanti 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 ?.

Yes.