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 <[EMAIL PROTECTED]> 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:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


__________________________________________________
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Paulex Yang
China Software Development Lab
IBM



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to