You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/07/16 15:54:27 UTC

[GitHub] [netbeans] eirikbakke commented on a change in pull request #3054: [NETBEANS-5832] Fixing compilation of static initializer for vanilla indexing.

eirikbakke commented on a change in pull request #3054:
URL: https://github.com/apache/netbeans/pull/3054#discussion_r671359489



##########
File path: java/java.source.base/src/org/netbeans/modules/java/source/indexing/VanillaCompileWorker.java
##########
@@ -712,7 +712,7 @@ public Void visitClass(ClassTree node, Void p) {
                             csym.members_field.remove(member);
                         }
                     }
-                    if (errorClass || def.hasTag(JCTree.Tag.ERRONEOUS) || def.hasTag(JCTree.Tag.BLOCK)) {

Review comment:
       From the logs I see you wrote the original  JCTree.Tag.BLOCK condition here, so I'm sure the adjustment makes sense.




-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists