jtulach commented on code in PR #9820:
URL: https://github.com/apache/netbeans/pull/9820#discussion_r4743592555
##########
platform/openide.filesystems/src/org/openide/filesystems/MemoryFileSystem.java:
##########
@@ -362,7 +363,7 @@ public MemoryFileSystem.Entry remove(String key) {
static final class Entry {
/** String, Object */
public Map<String, Object> attrs = Collections.synchronizedMap(new
HashMap<String, Object>());
- public byte[] data;
+ public volatile byte[] data;
Review Comment:
- You are probably right, Sváťo!
- here is my attempt to guard all the access by `entries` monitor:
ab489096b8a919a1ee9bb5908094554233ceb8b4
--
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]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists