Thanks Uwe. On Mon, Feb 13, 2012 at 2:10 AM, <[email protected]> wrote: > Author: uschindler > Date: Mon Feb 13 07:10:43 2012 > New Revision: 1243423 > > URL: http://svn.apache.org/viewvc?rev=1243423&view=rev > Log: > Fix compile problem > > Modified: > > lucene/dev/branches/branch_3x/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java > > Modified: > lucene/dev/branches/branch_3x/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java > URL: > http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java?rev=1243423&r1=1243422&r2=1243423&view=diff > ============================================================================== > --- > lucene/dev/branches/branch_3x/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java > (original) > +++ > lucene/dev/branches/branch_3x/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java > Mon Feb 13 07:10:43 2012 > @@ -142,7 +142,7 @@ public class PatternAnalyzerTest extends > // dodge jre bug > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7104012 > final UncaughtExceptionHandler savedHandler = > Thread.getDefaultUncaughtExceptionHandler(); > Thread.setDefaultUncaughtExceptionHandler(new > Thread.UncaughtExceptionHandler() { > - @Override > + // Not in Java 5: @Override > public void uncaughtException(Thread thread, Throwable throwable) { > assumeTrue("not failing due to jre bug ", > !isJREBug7104012(throwable)); > // otherwise its some other bug, pass to default handler > >
-- lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
