harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulex Yang <paulex.y...@gmail.com>
Subject Re: BASE64Encoder class missing?
Date Thu, 10 Aug 2006 02:48:43 GMT
FYI, Harmony has already a o.a.h.luni.util.Base64 utility in LUNI 
module, which is used by HttpURLConnection, IMO it would be nice to just 
choose one implementation to use across all the project.

Geir Magnusson Jr wrote:
> I assume it's something we'd just want to copy, rather than add a
> dependency ....
>
> geir
>
>
> Matt Benson wrote:
>   
>> commons-codec and Ant both have base64 encoders AFAIK.
>>
>> -Matt
>>
>> --- Geir Magnusson Jr <geir@pobox.com> wrote:
>>
>>     
>>> Martin Cordova wrote:
>>>       
>>>> Hi, I am testing the latest Harmony JRE (Aug-4-06)
>>>>         
>>> with a servlet
>>>       
>>>> engine on Windows XP SP2. The first obstacle I hit
>>>>         
>>> was related to the
>>>       
>>>> use of sun/misc/BASE64Encoder
>>>>
>>>> I got a java.lang.NoClassDefFoundError exception.
>>>>
>>>> Is there a workaround? was this class located
>>>>         
>>> under a different package?
>>>
>>> Not yet.  We were discussing this earlier.  Problem
>>> obviously is that
>>> the code is using sun specific code.
>>>
>>> I think that we should probably do this as well as
>>> we've discussed,
>>> sooner rather than later :
>>>
>>> 1) add a new module "suncompat" to make it clear
>>> what it is
>>> 2) have it produce a suncompat.jar that we include
>>> by default.
>>> 3) make users happy
>>>
>>> Anyone want to take a stab at this?  I assume we
>>> have a base64 encoder
>>> we can wrap?
>>>
>>> geir
>>>
>>>       
>>>> Thanks a lot.
>>>> Martin Cordova
>>>>         
>> ---------------------------------------------------------------------
>>     
>>> Terms of use :
>>> http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail:
>>> harmony-dev-unsubscribe@incubator.apache.org
>>> For additional commands, e-mail:
>>> harmony-dev-help@incubator.apache.org
>>>
>>>
>>>       
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around 
>> http://mail.yahoo.com 
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>>
>>
>>     
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
>   


-- 
Paulex Yang
China Software Development Lab
IBM



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message