Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
4.0-ALPHA
-
None
-
New
Description
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.