Christoph Läubrich
Christoph Läubrich
I have created - https://github.com/apache/felix-dev/pull/383 > or better yet, can the project itself provide a degenerate/no-op/empty XML file that will make it stop logging? Having something added as a workaround...
> so even if the modification happens while holding workspace locks, other threads might see stale values Wo other threads are *reading* the values outside the workspace lock? Looking at...
> I'm not saying that they are reading outside the lock, I'm saying they are probably reading stale values. If they are reading them under the workspace look, how can...
> Therefore IMO if we know the code is runing in multiple threads, the fields are not volatile, and we can't easily proof all paths that read/write of the fields...
I think a [Processing Instruction](https://en.wikipedia.org/wiki/Processing_Instruction) seems most suitable when it comes to XML documents instead of a comment. ```xml my.group my.artifact1 1.1.1 my.group my.artifact2 2.2.2 my.group my.artifact3 3.3.3 my.group my.artifact4...
> I don't have reproducer, but I think making the fields either volatile or atomic shouldn't harm. I must confess that I disagree here. It harms at least in the...