Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 74888 invoked from network); 14 Oct 2010 01:01:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Oct 2010 01:01:20 -0000 Received: (qmail 1471 invoked by uid 500); 14 Oct 2010 01:01:20 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 1369 invoked by uid 500); 14 Oct 2010 01:01:20 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 1361 invoked by uid 99); 14 Oct 2010 01:01:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 01:01:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hedhman@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vw0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 01:01:16 +0000 Received: by vws3 with SMTP id 3so2115876vws.6 for ; Wed, 13 Oct 2010 18:00:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=ncM8uYrQFWtegHypyUxL5wf4t+1eexkxzKjrCIQpjpw=; b=Fh94xmWjiljCJxjKqzykYRlY1t3q8vDoRQBU7FeXUT6Hb6imB2iMOAUzys6jJ0ubd/ 8IaCr+GT8UnBgxLwG3kx0Qmk2izOy0TWmShzuaOeXRHtyrTklAZBOyYOB7zZmahbYYtR GsBL71kSqxGZ3oPChYs5I4luWSPd2buFPb+To= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=FtCK3EMlwwyRp1ftRdpcER/7g6gEcR0y5lo6UQKHbChUEY+mL9Agd4czSKdfwISw4b qbpBac6+Xb9cIg5bxdVoMasBvt9V89QRfuOZhaR23TPMWK6NYOJVYejJxS0yFb2+sElt 9oQaFjyUi13rHKUQSv+amRDt0jWtcekCoW6K8= Received: by 10.220.181.202 with SMTP id bz10mr227291vcb.8.1287018054178; Wed, 13 Oct 2010 18:00:54 -0700 (PDT) MIME-Version: 1.0 Sender: hedhman@gmail.com Received: by 10.220.92.211 with HTTP; Wed, 13 Oct 2010 18:00:33 -0700 (PDT) In-Reply-To: <77F1E32F67C8D5479858C0C7E93EB465031270C2@WAL-MAIL.global.avidww.com> References: <77F1E32F67C8D5479858C0C7E93EB465030A825A@WAL-MAIL.global.avidww.com> <4CB4CADD.6050200@acm.org> <77F1E32F67C8D5479858C0C7E93EB465031270C2@WAL-MAIL.global.avidww.com> From: Niclas Hedhman Date: Thu, 14 Oct 2010 09:00:33 +0800 X-Google-Sender-Auth: LEeU2_E0wHKOur8uEVP-iBcYc4g Message-ID: Subject: Re: Java package names To: river-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I think this kind of report is excellent, and I think many of us recall that some classes (e.g. JoinManager) were similarly 'promoted' from com.sun.jini to net.jini in the early days. Since 'renaming' is partly incompatible, it is a good opportunity to look over these kind of changes at the same time. Cheers Niclas On Wed, Oct 13, 2010 at 11:27 PM, Christopher Dolan wrote: > It turns out that I overstated my case, so I withdraw my negative vote. = =A0I wrote my previous email before researching how extensively my code act= ually uses the com.sun.jini.* classes. =A0It's not nearly as bad as I thoug= ht -- I had misrecollected that some of the AbstractEntry subclasses were i= n com.sun -- and some of it is just bad code in my project. =A0Anecdotally,= here are the classes my project currently uses (not including my unit test= s, which dig deeper): > > import com.sun.jini.config.Config; > import com.sun.jini.config.ConfigUtil; > import com.sun.jini.landlord.Landlord; > import com.sun.jini.landlord.LandlordLease; > import com.sun.jini.landlord.LeaseFactory; > import com.sun.jini.loader.pref.internal.PreferredResources; > import com.sun.jini.logging.Levels; > import com.sun.jini.thread.TaskManager.Task; > import com.sun.jini.thread.TaskManager; > > I've been trying to refactor many of those out (like TaskManager), but so= me of them are hard to avoid, especially the landlord classes and Levels. = =A0PreferredResources, for example, is in my custom PreferredClassLoader im= plementation. > > Chris > > -----Original Message----- > From: Patricia Shanahan [mailto:pats@acm.org] > Sent: Tuesday, October 12, 2010 3:54 PM > To: river-dev@incubator.apache.org > Subject: Re: Java package names > > This is troubling news. My proposed refactoring of TaskManager to enable > performance tuning depends on the assumption that, as a com.sun.* class, > it is only used within the project. > > In general, we will be severely limited in our ability to progress if we > have to treat all public com.sun.* interfaces as external interfaces. > > Patricia > > > Christopher Dolan wrote: >> I vote against such an incompatible change. =A0There are a lot of >> classes under there, for example com.sun.jini.thread.TaskManager, >> that are utility code employed by downstream developers. =A0I think all >> new code should go elsewhere if possible, but changing the existing >> com.sun.jini packages would be hard on existing users. >> >> Chris >> >> >> -----Original Message----- From: Benson Margulies >> [mailto:bimargulies@gmail.com] Sent: Tuesday, October 12, 2010 11:51 >> AM To: general@incubator.apache.org; river-dev@incubator.apache.org >> Subject: Java package names >> >> River imported packages of code from the original Sun grant under the >> =A0name 'com.sun.whatever'. >> >> How important is it to change that? > > --=20 Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I=A0 live here; http://tinyurl.com/2qq9er I=A0 work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug