It's not mentioned in the docs, but I did a quick search in the lucene repo -- looks like it may be the caller's responsibility?

https://github.com/apache/lucene/blob/ddfd6f2b12c34d97e70b1a92de69d138ee1b666d/src/java/org/apache/lucene/index/CompoundFileReader.java#L92