avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@apache.org>
Subject Re: James / Excalibur ThreadPool conflict
Date Sun, 12 Jan 2003 00:15:06 GMT


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:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message