Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6AA462089 for ; Sun, 1 May 2011 17:03:43 +0000 (UTC) Received: (qmail 52914 invoked by uid 500); 1 May 2011 17:03:42 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 52848 invoked by uid 500); 1 May 2011 17:03:42 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 52841 invoked by uid 99); 1 May 2011 17:03:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 May 2011 17:03:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 May 2011 17:03:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2BF45BC7BE for ; Sun, 1 May 2011 17:03:03 +0000 (UTC) Date: Sun, 1 May 2011 17:03:03 +0000 (UTC) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Message-ID: <1586510056.14251.1304269383176.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1104193437.13762.1304196663105.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3057) LuceneTestCase#newFSDirectoryImpl misses to set LockFactory if ctor call throws exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027471#comment-13027471 ] Simon Willnauer commented on LUCENE-3057: ----------------------------------------- bq. should we backport to 3.x too?! oh right this stuff is in 3.x too - I will backport tomorrow! > LuceneTestCase#newFSDirectoryImpl misses to set LockFactory if ctor call throws exception > ----------------------------------------------------------------------------------------- > > Key: LUCENE-3057 > URL: https://issues.apache.org/jira/browse/LUCENE-3057 > Project: Lucene - Java > Issue Type: Bug > Components: Tests > Affects Versions: 4.0 > Reporter: Simon Willnauer > Priority: Minor > Fix For: 4.0 > > Attachments: LUCENE-3057.patch > > > selckin reported on IRC that if you run ant test -Dtestcase=TestLockFactory -Dtestmethod=testNativeFSLockFactoryPrefix -Dtests.directory=FSDirectory the test fails. Since FSDirectory is an abstract class it can not be instantiated so our code falls back to FSDirector.open. yet we miss to set the given lockFactory though. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org