Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 45066 invoked from network); 29 Oct 2006 00:58:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Oct 2006 00:58:06 -0000 Received: (qmail 51128 invoked by uid 500); 29 Oct 2006 00:58:17 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 50445 invoked by uid 500); 29 Oct 2006 00:58:15 -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 50435 invoked by uid 99); 29 Oct 2006 00:58:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Oct 2006 17:58:15 -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 (herse.apache.org: domain of nbeyer@gmail.com designates 66.249.82.239 as permitted sender) Received: from [66.249.82.239] (HELO wx-out-0506.google.com) (66.249.82.239) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Oct 2006 17:58:03 -0700 Received: by wx-out-0506.google.com with SMTP id s13so1093686wxc for ; Sat, 28 Oct 2006 17:57:42 -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=N6FX8qIKrJ8vfCtXZRSK+YiqeV2PY/LGj5Mr54LJg6J7xcXtaTB27bz0ezzf9TBPhyUfcEf+BLNz/B1HGJp5DzuLpUANpeDf5VdDJLK27VdXPsuwSrt5pdCuynD6ReP1/BHkQOxhSPvNNvQpPt7XOond4TyrofRn6D8L7Vq+wA0= Received: by 10.90.71.12 with SMTP id t12mr336555aga; Sat, 28 Oct 2006 17:57:42 -0700 (PDT) Received: by 10.90.66.18 with HTTP; Sat, 28 Oct 2006 17:57:42 -0700 (PDT) Message-ID: <3b3f27c60610281757w31d62f21k55fd176024c5a1ac@mail.gmail.com> Date: Sat, 28 Oct 2006 19:57:42 -0500 From: "Nathan Beyer" To: harmony-dev@incubator.apache.org Subject: Re: [classlib][concurrent] ASF block comments? In-Reply-To: <4543C843.6070705@pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4541CB9B.7030409@gmail.com> <4541F761.5020501@pobox.com> <3b3f27c60610280002k63e5cdb6l4226cabf86c2d33e@mail.gmail.com> <4543C5ED.3050901@gmail.com> <4543C843.6070705@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org On 10/28/06, Geir Magnusson Jr. wrote: > > > Tim Ellison wrote: > > Nathan Beyer wrote: > >> I made mods to them, so that they would compile. We've discussed this > >> in the past; there was some invalid generics syntax that was valid at > >> the point of the JSR166 PFD. For maintenance purposes, it was easier > >> to take the single tag of code from the concurrency CVS than try to do > >> a mish/mash approach. As such, there were a few compile errors. > >> > >> The problem in ConcurrentHashMap was in the putAll method; > >> Iterator was change to Iterator >> extends Map.Entry. > > > > Sorry Nathan, I had missed/forgotten that. Such a simple change does > > not strike me as separately licenseable/copyrightable. > > > > I agree. > > > Did you specifically want to see the ASF comment block in that file or > > would you be ok with a note in the implementation to show that it has > > been modified from the original? > > I thought there was a tag in doug's CVS for the version that was put > into java 1.5 from sun? The last tag available is JSR166_PFD [1]. If this is what Sun used for 1.5, then they changed it internally. There are no tags, which are more recent. Of note, the JAPI reports shows other difference between Harmony's j.u.c and Sun's JDK 5, so the public API was changed somewhere. We could just use HEAD if we don't mind starting Java 6 support. Here reference to a previous post about this topic - http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200608.mbox/%3c004701c6c493$62e72570$eb42fb0a@LITTLEGUY%3e [1] http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/?only_with_tag=JSR166_PFD > > geir > > > > >> I'll have to look into what I changed in the test file, if that's needed. > > > > ack. > > > > Regards, > > Tim > > > >> On 10/27/06, Geir Magnusson Jr. wrote: > >>> Please do. All,as Tim said, we don't do mods to j.u.c.... > >>> > >>> geir > >>> > >>> > >>> Tim Ellison wrote: > >>>> Why do two files in standard concurrent code have the standard ASF > >>>> comment blocks? > >>>> > >>>> > >>> modules/concurrent/standard/src/main/java/java/util/concurrent/ConcurrentHashMap.java > >>> > >>> modules/concurrent/standard/src/test/java/AtomicReferenceFieldUpdaterTest.java > >>> > >>>> It's not clear that there are any local modifications to these files. > >>>> Unless somebody states otherwise I'll remove them. > >>>> > >>>> Regards > >>>> Tim > >>>> > > >