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 2022/02/21 13:39:24 UTC

[GitHub] [netbeans] entlicher commented on a change in pull request #3635: [NETBEANS-6458] A bogus Cyclic Reference issue is resolved by marking fields as volatile.

entlicher commented on a change in pull request #3635:
URL: https://github.com/apache/netbeans/pull/3635#discussion_r811138046



##########
File path: platform/openide.loaders/src/org/openide/loaders/FolderInstance.java
##########
@@ -115,14 +115,14 @@
     /** Array of tasks that we have to check before we are ok. These are the tasks
      *  associated with children of the current folder.
      */
-    private Task[] waitFor;
+    private volatile Task[] waitFor;

Review comment:
       It's a pity we can not make `folder` final, since it's API.




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