From harmony-dev-return-7094-apmail-incubator-harmony-dev-archive=incubator.apache.org@incubator.apache.org Mon May 01 18:50:20 2006 Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 62969 invoked from network); 1 May 2006 18:50:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 May 2006 18:50:19 -0000 Received: (qmail 14070 invoked by uid 500); 1 May 2006 18:50:15 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 14011 invoked by uid 500); 1 May 2006 18:50:14 -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 14000 invoked by uid 99); 1 May 2006 18:50:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 11:50:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of weldonwjw@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO pproxy.gmail.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 11:50:13 -0700 Received: by pproxy.gmail.com with SMTP id c31so2142411pyd for ; Mon, 01 May 2006 11:49:51 -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=aZbXVBEq8g9Gp6vDczqXnQYd/h9pUpJpBhf7G5R74POeEnDVr4+b84z7hzVrArRgMEnZ5FUQNtKvwp3UYaUyWORIckyxYt+TLxsQvVNYhqxX45hrdSAiahnReDsynERT2gjd7v9c96NE3lxDkvj1JKS/faBqdvB4fPzxeyTIfLI= Received: by 10.35.18.4 with SMTP id v4mr317922pyi; Mon, 01 May 2006 11:49:47 -0700 (PDT) Received: by 10.35.59.7 with HTTP; Mon, 1 May 2006 11:49:47 -0700 (PDT) Message-ID: <4dd1f3f00605011149u2fe39da9y9c29c92d27911d4a@mail.gmail.com> Date: Mon, 1 May 2006 11:49:47 -0700 From: "Weldon Washburn" To: harmony-dev@incubator.apache.org Subject: Re: [classlib] gnuclasspathadapter -- current status on getting specJVM98 to run In-Reply-To: <44564025.5030407@dellroad.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4dd1f3f00604301838o6765b7arbe5b3e16a772e7d2@mail.gmail.com> <44562A19.40104@dellroad.org> <4dd1f3f00605010942u6ffd0f9fkce2c533adcf7caa5@mail.gmail.com> <44564025.5030407@dellroad.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 5/1/06, Archie Cobbs wrote: > Weldon Washburn wrote: > >> If the ACC_INTERFACE flag of this class file is set, its ACC_ABSTRAC= T > >> flag must also be set (=A72.13.1) and its ACC_PUBLIC flag may be set= . > >> Such a class file may not have any of the other flags in Table 4.1 s= et. > >> > >> It's interesting to hear that Sun (I assume?) doesn't follow this. > > > > Are you able to confirm the behavior I am seeing on your system? I > > ask because I would hate to find out the problem is caused by some > > glitch in my environment. You should be able to test for the problem > > with specJVM98 _209_db. Because of spec licensing rules, I may not be > > able to give you my hacked up source to try. > > What's in the classfile? You can use "cfdump" to check, if you've got > that built. The 0x0400 bit of access_flags should be set for ABSTRACT. > Good idea to use cfdump. I now suspect it was a glitch in my environment. It might have been a wild pointer somewhere. I can no longer reproduce the problem. > >> JCHEVM does agressive linking. This behavior is inherited from JCVM > >> which was optimized for pre-compiled objects. Agressive linking is > >> within the JVM spec, which allows flexibility in this area. The proble= m > >> you see is one downside of the approach. > > > > hmmm.... is there any facility to turn off JCHEVM's agressive linking? > > That is, let the linking happen only at first use of the class. If > > not, the choices are to: > > a) > > implement AWT and any other missing libs (this may be lots of work) > > b) > > comment out unused but offending classes that are in specJVM98 (ugly!) > > c) > > use some other benchmarks to demo Harmony LUNI on gnuclasspathadapter > > (and have to respond to questions why specJVM98 does not work) > > JCHEVM resolves all of the symbolic references in a class at once, > but not until it has to. So the linking does only happen at "first use" > of the class, but at that time the entire class' references are resolved > rather than just whatever method you happen to touch first. > There's no way to fix this easily unfortunately. > > In any case it seems like trying to get specJVM to work seems pretty > ambitious at this point, given that you just got System.out.println() > working... there are probably more urgent things to fix than AWT, no? Agreed. Fixing AWT so that is runs with gnuclasspathadapter/JCHEVM is the hard way to bring up the system. > E.g., you could try the Mauve test suite. Good idea. I will try to look at mauve soon. I don't know anything about it. Do you know if there there any Apache license compatibility issues? > > Looking forward to getting this stuff committed at some point... ! Thanks. I agree with you. Hacking on a private copy of Harmony Classlibs is growing stale. It would be much more efficient to commit the mods to Apache svn server. > > -Archie > > _________________________________________________________________________= _ > Archie Cobbs * CTO, Awarix * http://www.awarix.co= m > > --------------------------------------------------------------------- > 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 > > -- Weldon Washburn Intel Middleware Products Division --------------------------------------------------------------------- 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