drccrd commented on code in PR #4007:
URL: 
https://github.com/apache/incubator-kie-tools/pull/4007#discussion_r4283981127


##########
packages/drools-lsp/drools-lsp-server/src/main/java/org/drools/lsp/server/DroolsLspServer.java:
##########
@@ -221,6 +223,7 @@ private void refreshJavaSourceIndex(Path root) {
      * waiting for the next edit/save.
      */
     private void publishClassIndex() {
+        registerCustomOperators();
         ClassIndex outputIndex = ClassIndex.build(buildOutputDirs);
         ClassIndex merged = ClassIndex.merge(ClassIndex.merge(jarClassIndex, 
outputIndex),
                 ClassIndex.of(javaSourceIndex.classNames()));

Review Comment:
   Fixed: dependency jars are scanned once, when the classpath resolves, and 
each rebuild rescans only class directories. Each jar is now opened once for 
both conf files.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to