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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to