Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 48503 invoked from network); 10 Aug 2006 04:16:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2006 04:16:06 -0000 Received: (qmail 7423 invoked by uid 500); 10 Aug 2006 04:16:02 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 7324 invoked by uid 500); 10 Aug 2006 04:16:02 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 7292 invoked by uid 99); 10 Aug 2006 04:16:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 21:16:02 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of martin.cordova@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 21:16:01 -0700 Received: by py-out-1112.google.com with SMTP id s49so638677pyc for ; Wed, 09 Aug 2006 21:15:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=L3armRMfzwvoZdilUkK9r59xkPI+1Nu6yALhQmrSsoCG8d5mHAX/EDK5aY5TANKY4XlvnLMTsB5xlf1419pHq94duofultYbGPJixZ8CeJb+NV0WyL2BvNoj6I9yDLvSGRre3HYHSGLUbzBifCg6M/YPbYoTsh2B7NDu9OST5Jo= Received: by 10.35.93.15 with SMTP id v15mr3000930pyl; Wed, 09 Aug 2006 21:15:40 -0700 (PDT) Received: by 10.35.128.15 with HTTP; Wed, 9 Aug 2006 21:15:40 -0700 (PDT) Message-ID: <11f7653a0608092115y309f650eg1716341b8d7b2c62@mail.gmail.com> Date: Thu, 10 Aug 2006 00:15:40 -0400 From: "Martin Cordova" To: harmony-dev@incubator.apache.org Subject: Re: BASE64Encoder class missing? In-Reply-To: <11f7653a0608092040y2f3615a3t53fbb8b6b3065246@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <11f7653a0608091233r8d9e5ffp2a179b3de7b51f3d@mail.gmail.com> <005f01c6bc16$205a77a0$0301a8c0@LITTLEGUY> <11f7653a0608092040y2f3615a3t53fbb8b6b3065246@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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 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 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