harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cordova" <martin.cord...@gmail.com>
Subject Re: BASE64Encoder class missing?
Date Thu, 10 Aug 2006 04:15:40 GMT
OK, now I understand the concern about it:

* http://java.sun.com/products/jdk/faq/faq-sun-packages.html

Whatever the case, I will remove this dependency from my code.

Thank you all for the quick feedback.

Regards,
Martin

On 8/9/06, Martin Cordova <martin.cordova@gmail.com> wrote:
> Just to set the record straight, Winstone servlet engine does not have
> a dependency on this code - as far as I know, it's just some reusable
> code of mine that makes use of this Base64 API, not related to
> Winstone.
>
> My primary concern was getting all my code running on Harmony without
> significant changes, especially code that invokes JDK libraries. Since
> I saw it implemented on IBM's JVM (despite the sun.* namespace) I
> thought it would be present in Harmony.
>
> I have no problem calling another Base64 class, it is just that I did
> not expect this class to be missing in Harmony.
>
> Regards,
> Martin
> --
> Dinamica - RADical J2EE framework
> open source, easy and powerful
> http://www.martincordova.com
>
> On 8/9/06, Nathan Beyer <nbeyer@kc.rr.com> wrote:
> > Regardless of how this turns out, I would suggest that someone (Martin?) log
> > an issue with Winstone to switch from using this class to something like
> > commons-codec.
> >
> > -Nathan
> >
> > > -----Original Message-----
> > > From: Martin Cordova [mailto:martin.cordova@gmail.com]
> > > Sent: Wednesday, August 09, 2006 2:34 PM
> > > To: harmony-dev@incubator.apache.org; geir@pobox.com
> > > Subject: Re: BASE64Encoder class missing?
> > >
> > > I was testing a servlet engine called Winstone v0.8.2 - very
> > > lightweight and minimalistic (winstone.sourceforge.net). It started
> > > very fast, and everything seemed to work nice until I reached the
> > > point of encoding a password...
> > >
> > > I also make heavy use of Resin servlet engine, I will test it with Harmony
> > > too.
> > >
> > > Is it possible to mantain the same package name for this Base64 class?
> > > any licensing issues regarding this? I use IBM JVM and they provide
> > > this class under the same package.
> > >
> > > I also tested a small program that uses some File I/O and a compact
> > > XML parser called Electric XML and parts of a framework that makes
> > > heavy use of HashMap and ArrayList. Did run fine and fast, inside
> > > Eclipse 3.2.
> > >
> > > I am really pleased with this JRE snapshot, so easy to install and
> > > test. Last time I tested gnu classpath with some open source JVM was a
> > > pain in the class. Don't take me wrong, I appreciatte a lot the effort
> > > of those guys, but I love simplicity a lot. By creating an easy to
> > > install snapshot you are also improving the feedback cycle, people (at
> > > least me) will feel more motivated to test and provide feedback.
> > >
> > > Regards,
> > > Martin
> > > --
> > > Dinamica - RADical J2EE framework
> > > open source, easy and powerful
> > > http://www.martincordova.com
> > >
> > >
> > > On 8/9/06, Geir Magnusson Jr <geir@pobox.com> wrote:
> > > > btw... which servlet engine?
> > > >
> > > > Did you get anything done before you ran into the missing class?  We're
> > > > interested in hearing how it went...
> > > >
> > > > geir
> > > >
> > > > 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?
> > > > >
> > > > > 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
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> >
>


-- 
Dinamica - RADical J2EE framework
open source, easy and powerful
http://www.martincordova.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


Mime
View raw message