Details
Description
IndexWriter as well as DocumentsWriter caught Throwable and ignored it. This is mainly a relict from pre Java 7 were exceptions didn't have the needed API to suppress exceptions. This change handles exceptions correctly where the original exception is rethrown and all other exceptions are added as suppressed.