Author: markt Date: Fri Mar 5 14:04:57 2010 New Revision: 919421 URL: http://svn.apache.org/viewvc?rev=919421&view=rev Log: Revert r919347. On error , we don't need the read lock.
Modified: tomcat/trunk/java/org/apache/juli/FileHandler.java Modified: tomcat/trunk/java/org/apache/juli/FileHandler.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/juli/FileHandler.java?rev=919421&r1=919420&r2=919421&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/juli/FileHandler.java (original) +++ tomcat/trunk/java/org/apache/juli/FileHandler.java Fri Mar 5 14:04:57 2010 @@ -145,10 +145,10 @@ date = tsDate; openWriter(); } - } finally { // Down grade to read-lock. This ensures the writer remains valid // until the log message is written writerLock.readLock().lock(); + } finally { writerLock.writeLock().unlock(); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org