thomasmueller commented on code in PR #2825:
URL: https://github.com/apache/jackrabbit-oak/pull/2825#discussion_r3027780181
##########
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProviderService.java:
##########
@@ -369,6 +371,9 @@ private void activate(BundleContext bundleContext,
Configuration config) throws
}
whiteboard = new OsgiWhiteboard(bundleContext);
+ oakRegs.add(whiteboard.register(FeatureToggle.class,
+ new FeatureToggle(FulltextIndexPlanner.FT_OAK_12171,
FulltextIndexPlanner.FT_OAK_12171_DISABLE),
+ emptyMap()));
Review Comment:
Good point! Even thought it's a global variable (final static), there might
be two instances because of OSGi (different classloaders).
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]