Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 9045 invoked from network); 16 Oct 2006 06:32:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 06:32:19 -0000 Received: (qmail 33884 invoked by uid 500); 16 Oct 2006 06:32:07 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 33830 invoked by uid 500); 16 Oct 2006 06:32:07 -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 33812 invoked by uid 99); 16 Oct 2006 06:32:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Oct 2006 23:32:06 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of stepan.mishura@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Oct 2006 23:32:05 -0700 Received: by py-out-1112.google.com with SMTP id c30so2546265pyc for ; Sun, 15 Oct 2006 23:31:44 -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=b+W4uixX9roOgGeo0vJzeGXuFZajeQYu6P+zX7S0CX4TmwUjWC/3XeMjpnkHU923FT7QX/guZrS+L4fcw5y0r9uSImehVyKsNqraxbIjtRSftKdpZOtSDpW8z5B9dJn2G9gbt5Gy2ZgNtQjnotcQlpoaeWjDfm4IP9dXrCGJcIU= Received: by 10.65.97.18 with SMTP id z18mr9405163qbl; Sun, 15 Oct 2006 23:21:44 -0700 (PDT) Received: by 10.65.205.12 with HTTP; Sun, 15 Oct 2006 23:21:44 -0700 (PDT) Message-ID: <6e47b64f0610152321i6c6dd4j5727a8360e5d96c2@mail.gmail.com> Date: Mon, 16 Oct 2006 13:21:44 +0700 From: "Stepan Mishura" To: harmony-dev@incubator.apache.org Subject: Re: [classlib][concurrent] Implementation of the CopyOnWriteArrayList class. In-Reply-To: <26c14c2a0610130740l4a125a44r2d63ad5a1374f9c1@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_54292_8024606.1160979704314" References: <26c14c2a0610100343h70e6d989n3d9fce6b99bb2b1f@mail.gmail.com> <6e47b64f0610130131g26e1226fx45b394bfb034fefe@mail.gmail.com> <26c14c2a0610130740l4a125a44r2d63ad5a1374f9c1@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_54292_8024606.1160979704314 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/13/06, Oleg Khaschansky wrote: > Could you, please, send the compiler output for these errors? The output of eclipse compiler is quite big (over 1M). I've just extracted some error messages: [javac] 292. ERROR in C:\Apache\Harmony\ClassLib\modules\concurrent\src\main\java\java\util\concurrent\CopyOnWriteArrayList.java [javac] (at line 32) [javac] import java.util.concurrent.locks.ReentrantLock; [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The import java.util.concurrent.locks cannot be resolved [javac] ---------- [javac] 293. ERROR in C:\Apache\Harmony\ClassLib\modules\concurrent\src\main\java\java\util\concurrent\CopyOnWriteArrayList.java [javac] (at line 43) [javac] private final transient ReentrantLock lock = new ReentrantLock(); [javac] ^^^^^^^^^^^^^ [javac] ReentrantLock cannot be resolved to a type [javac] ---------- [javac] 294. ERROR in C:\Apache\Harmony\ClassLib\modules\concurrent\src\main\java\java\util\concurrent\CopyOnWriteArrayList.java [javac] (at line 43) [javac] private final transient ReentrantLock lock = new ReentrantLock(); [javac] ^^^^^^^^^^^^^ [javac] ReentrantLock cannot be resolved to a type [javac] ---------- Thanks, Stepan. > On 10/13/06, Stepan Mishura wrote: > > BTW, I stumbled over this class when I tried to build Classlib with > Harmony > > snapshot - it doesn't compile. > > > > I did the following: > > 1) set JAVA_HOME=C:\Apache\Harmony\snapshot\harmony-hdk-r450941\jdk\jre > > 2) ant -Dhy.javac.compiler=org.eclipse.jdt.core.JDTCompilerAdapter > > > > The build fails with compile errors. And if I revert Tim's commit back > > everything goes fine: > > $ svn up -r462578 > > > modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java > > U > > > modules\concurrent\src\main\java\java\util\concurrent\CopyOnWriteArrayList.java > > Updated to revision 462578. > > > > Did anyone try this? > > > > Thanks, > > Stepan. > > > > > > On 10/10/06, Oleg Khaschansky wrote: > > > > > > I uploaded a patch which implements CopyOnWriteArrayList class. > > > Committers, please, take a look at [1]. I also ensured that > > > CopyOnWriteArrayListTest passes with this implementation. > > > > > > [1] http://issues.apache.org/jira/browse/HARMONY-1805 > > > > > -- Stepan Mishura 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 ------=_Part_54292_8024606.1160979704314--