Uwe, happy that you found a nice way to do it! Java 5 concurrent is gonna be use in a whole lot of places I guess.
Simon On Nov 8, 2009 8:07 PM, "Uwe Schindler (JIRA)" <j...@apache.org> wrote: [ https://issues.apache.org/jira/browse/LUCENE-2030?page=com.atlassian.jira.plugin.system.issu. .. New patch that uses ReentrantLock from Java5's concurrent package. This lock is serializable. All tests pass, will commit soon. > CachingSpanFilter synchronizing on a none final protected object > ------------------------------... > Attachments: LUCENE-2030.patch, LUCENE-2030.patch, LUCENE-2030.patch, LUCENE-2030.patch > > > CachingSpanFilter and CachingWrapperFilter expose their internal cache via a protected member ...