lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4231) Lucene-test-framework has META-INF for Codec for PreFlexRWCodec but not instantiatable
Date Tue, 17 Jul 2012 20:16:33 GMT
David Smiley created LUCENE-4231:
------------------------------------

             Summary: Lucene-test-framework has META-INF for Codec for PreFlexRWCodec but
not instantiatable
                 Key: LUCENE-4231
                 URL: https://issues.apache.org/jira/browse/LUCENE-4231
             Project: Lucene - Java
          Issue Type: Bug
          Components: general/test
    Affects Versions: 4.0-ALPHA
            Reporter: David Smiley
            Priority: Minor
             Fix For: 4.0


The Lucene-test-framework for 4.0-ALPHA contains /META-INF/services/org.apache.lucene.codecs.Codec
which I didn't expect; shouldn't that only be in Lucene-core ?  Well its there, and it contains
org.apache.lucene.codecs.lucene3x.PreFlexRWCodec which is actually a class embedded in the
test framework jar file (again, unexpected).  However, this class depends on the existence
of Lucene3xCodec which is not part of this jar file.

I discovered this because I accidentally had the lucene-test-framework 4.0-ALPHA on my classpath
along with the lucene-core 5.0 but Codec would fail at class initialization time because the
services failed to resolve.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message