[logback-dev] IllegalMonitorStateExceptioninAppenderAttachableImpl.appendLoopOnAppenders()
Ceki Gulcu
ceki at qos.ch
Tue Feb 3 17:57:37 CET 2009
Szel, Zoltan (IDEAS) wrote:
> Hi,
> I agree with Maarten, if the r.lock() call would be outside the try
> block than the original exception would be propagated. Having a look
> at the RWDictionary example in the javadocs of
>
ReentrantReadWriteLock(http://java.sun.com/javase/6/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html),
> they have the call to the lock() method outside of the try block.
That example is part of the official documentation of java.util.concurrent.locks.
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
More information about the logback-dev
mailing list