Re: [Framework] ServiceRegistry.getService() endless loop with lock?

2015-03-22 Thread Richard S. Hall
On 3/21/15 05:52 , Carsten Ziegeler wrote: Am 20.03.15 um 18:41 schrieb David Bosschaert: Some more thoughts about this... The wait() call in the getService() method is as follows: synchronized (this) { // First make sure that no existing operation is currently

Re: [Framework] ServiceRegistry.getService() endless loop with lock?

2015-03-22 Thread David Bosschaert
Thanks Carsten! I removed that interrupt() call on trunk. On why it got interrupted? I'm not sure. I guess anyone could call Thread.interrupt()... Cheers, David On 21 March 2015 at 09:52, Carsten Ziegeler cziege...@apache.org wrote: Good question - The call to interrupt() is wrong. If the