From river-commits-return-133-apmail-incubator-river-commits-archive=incubator.apache.org@incubator.apache.org Tue Jul 24 12:58:41 2007 Return-Path: Delivered-To: apmail-incubator-river-commits-archive@locus.apache.org Received: (qmail 53010 invoked from network); 24 Jul 2007 12:58:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jul 2007 12:58:39 -0000 Received: (qmail 74403 invoked by uid 500); 24 Jul 2007 12:58:30 -0000 Delivered-To: apmail-incubator-river-commits-archive@incubator.apache.org Received: (qmail 74265 invoked by uid 500); 24 Jul 2007 12:58:30 -0000 Mailing-List: contact river-commits-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-commits@incubator.apache.org Received: (qmail 74083 invoked by uid 99); 24 Jul 2007 12:58:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 05:58:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [68.230.240.46] (HELO eastrmmtao104.cox.net) (68.230.240.46) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 05:58:25 -0700 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao104.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070724125804.BDXF1411.eastrmmtao104.cox.net@eastrmimpo02.cox.net>; Tue, 24 Jul 2007 08:58:04 -0400 Received: from [127.0.0.1] ([70.182.72.40]) by eastrmimpo02.cox.net with bizsmtp id TQy31X00N0s8xBa0000000; Tue, 24 Jul 2007 08:58:04 -0400 Message-ID: <46A5F757.6030004@cox.net> Date: Tue, 24 Jul 2007 07:57:59 -0500 From: Gregg Wonderly User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: river-dev@incubator.apache.org CC: river-commits@incubator.apache.org Subject: Re: [jira] Updated: (RIVER-24) PreferredListGen can create illegal PREFERRED.LIST References: <21282916.1185261691128.JavaMail.jira@brutus> In-Reply-To: <21282916.1185261691128.JavaMail.jira@brutus> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Another enhancement I have been wanting to do is to make the RMIClassLoaderSPI string include the PREFERRED.LIST content. The encoding would be a bit tricky, depending on how much compatibility you want to maintain. I currently have a static method (with a permission check) in ClassLoading, called neverPrefer(String) which I use to set the "platform" that I am want to assert for my application. Anything that is "never preferred" will never force downloading of the codebase. It works, but is really a back door into the logic which could be driven with real data from the services preferences. Gregg Wonderly