Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@apache.org Received: (qmail 86431 invoked from network); 12 Jan 2003 00:14:42 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 12 Jan 2003 00:14:42 -0000 Received: (qmail 16683 invoked by uid 97); 12 Jan 2003 00:16:05 -0000 Delivered-To: qmlist-jakarta-archive-avalon-dev@jakarta.apache.org Received: (qmail 16635 invoked by uid 97); 12 Jan 2003 00:16:04 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 16622 invoked by uid 98); 12 Jan 2003 00:16:03 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3E20B38A.5010901@apache.org> Date: Sun, 12 Jan 2003 01:15:06 +0100 From: Stephen McConnell User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en, en-us MIME-Version: 1.0 To: Avalon Developers List Subject: Re: James / Excalibur ThreadPool conflict References: <05ad01c2b9cb$40535d20$6401a8c0@LEIBNIZ> <200301121102.49047.peter@realityforge.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Peter Donald wrote: >On Sun, 12 Jan 2003 10:43, Peter M. Goldstein wrote: > > >>A method was removed from the org.apache.avalon.excalibur.thread.ThreadPool >>interface. Specifically, the execute(Runnable) method. As I said above, >>considering the interface was already deprecated I don't understand why >>this method was removed. Seems to violate the whole point of deprecating >>interfaces. >> >> > >You will notice that org.apache.avalon.excalibur.thread.ThreadPool extends >org.apache.excalibur.thread.ThreadPool and >org.apache.excalibur.thread.ThreadPool has the execute(Runnable) method and >thus any instance of org.apache.avalon.excalibur.thread.ThreadPool also has >the execute(Runnable) method via inheritance. > > > >>Everything does work if you compile/run/etc. against the old jar. >> >> > >Everything will work if you compile against old jar and run with new jar. >Everything will work if you compile against old jar and run with old jar. >Everything will work if you compile against new jar and run with new jar. > >What will not work is compiling against the new jar and running against the >old jar. This is the problem. > How do explain a NoSuchMethodException when running against the new jar ? Steve. -- Stephen J. McConnell mailto:mcconnell@apache.org http://www.osm.net -- To unsubscribe, e-mail: For additional commands, e-mail: