Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 69774 invoked from network); 26 May 2006 11:40:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 11:40:46 -0000 Received: (qmail 16882 invoked by uid 500); 26 May 2006 11:40:43 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 16831 invoked by uid 500); 26 May 2006 11:40:43 -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 16820 invoked by uid 99); 26 May 2006 11:40:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 04:40:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of vvgorr@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 04:40:42 -0700 Received: by py-out-1112.google.com with SMTP id e30so87569pya for ; Fri, 26 May 2006 04:40:21 -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:references; b=EVxCz22UchWGbxGCNUEBBqZq2WDmUp2vyuW9Z6rfDsnuF1vlJLQYNmHsXN0K86yNxOAIajPJ9q8jcZuhjVbHeRCfbAUkjp/zbaqvOcWRchD92itEv7gWvAhpex6An1fthSYxdSznOElI+dQT0ywmcpr1O1x9DYYR8p0zWevm71E= Received: by 10.35.40.10 with SMTP id s10mr454580pyj; Fri, 26 May 2006 04:39:59 -0700 (PDT) Received: by 10.35.88.13 with HTTP; Fri, 26 May 2006 04:39:59 -0700 (PDT) Message-ID: <23951bd90605260439r4f7c19aam3e3e9eef3df40e51@mail.gmail.com> Date: Fri, 26 May 2006 18:39:59 +0700 From: "Vladimir Gorr" To: harmony-dev@incubator.apache.org Subject: Re: classlib build problem? In-Reply-To: <4476E6AC.1040008@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13968_8993805.1148643599053" References: <200605260828.k4Q8SlA9022087@d06av02.portsmouth.uk.ibm.com> <4476CF09.3020501@gmail.com> <23951bd90605260307y55df8f35o5b2832b72f901ebc@mail.gmail.com> <4476D919.7060408@gmail.com> <23951bd90605260357r42c0601ey999bef230906d855@mail.gmail.com> <4476E6AC.1040008@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_13968_8993805.1148643599053 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 5/26/06, Tim Ellison wrote: > > Vladimir Gorr wrote: > > On 5/26/06, Tim Ellison wrote: > >> > >> Vladimir Gorr wrote: > >> > maybe does it make sense adding the RI rt.jar to CLASSPATH for the > >> > ECJ-based > >> > compiler? > >> > In this case all we didn't implemented will be taken from RI. Is thi= s > a > >> > stupid idea? > >> > >> You can add the RI's class libraries using a command-line option if yo= u > >> so choose, but I don;t think we should build the Harmony javac to have > >> dependencies upon the RI. > > > > Ok, I see and absolutely agree with you. But I have one question :-). > > Suppose API developers will import some unimplemented (into Harmony) > class > > for the development needs > > and build with Sun's compiler (He will see no any compiler's errors). > > Are there the dependencies upon the RI for Harmony javac in this case? > > Sorry, I don't understand the question. > > By default, our javac will run on the Harmony JRE and compile against > the Harmony class libraries (i.e. no dependencies on the RI at all). > > However, it is possible against any other class libraries, including the > RI (e.g. javac -cp rt.jar Foo.java). The compiler is still running on > the Harmony JRE. > > Does that answer your question? Yes, thanks. My misunderstanding was we use the Sun's compiler to build the Harmony classes. Sorry for this. Vladimir. Regards, > Tim > > -- > > Tim Ellison (t.p.ellison@gmail.com) > IBM Java technology centre, UK. > > --------------------------------------------------------------------- > 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 > > ------=_Part_13968_8993805.1148643599053--