String zipEntryName = ze.getName();
if (Util.isClassFileName(zipEntryName) &&
isValidPackageNameForClass(zipEntryName)) {
// index only classes coming from valid packages - https://bugs.eclipse.org/bugs/show_bug.cgi?id=293861
final byte[] classFileBytes = org.eclipse.jdt.internal.compiler.util.Util.getZipEntryByteContent(ze, zip);
JavaSearchDocument entryDocument = new JavaSearchDocument(ze, zipFilePath, classFileBytes, participant);
this.manager.indexDocument(entryDocument, participant, index, indexPath);
}
}
if(this.forceIndexUpdate) {
this.manager.savePreBuiltIndex(index);