reschke commented on code in PR #2224: URL: https://github.com/apache/jackrabbit-oak/pull/2224#discussion_r2039135985
########## oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreBuilder.java: ########## @@ -117,7 +116,7 @@ public class DocumentNodeStoreBuilder<T extends DocumentNodeStoreBuilder<T>> { */ static final int UPDATE_LIMIT = Integer.getInteger("update.limit", DEFAULT_UPDATE_LIMIT); - protected Supplier<DocumentStore> documentStoreSupplier = ofInstance(new MemoryDocumentStore()); + protected Supplier<DocumentStore> documentStoreSupplier = () -> new MemoryDocumentStore(); Review Comment: Apparently because it gets overwritten in other classes. Backing out this change, but I still don't get what's wrong here. @mreutegg maybe? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: oak-dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org