lahodaj commented on issue #4962:
URL: https://github.com/apache/netbeans/issues/4962#issuecomment-1779124256

   So, I was able to reproduce the creation of the lock files. I used two 
distinct `pom.xml` files for that, opened both, and modified both, and then 
they get the lock files (both of them, for me).
   
   This was on Linux. I couldn't try on Windows yet, but there's a chance this 
would happen even without the manual modification on Windows, as the files may 
be internally marked as modified due to different line endings, or alike. Not 
sure about that.
   
   My understanding  of the cause so far is that files are locked when they are 
modified, but the lock is not materialized as a file in most cases. But when 
two files with the same name (not path) are modified, the locks are 
materialized as files. I was not able to find out what is the reason for this 
behavior.
   


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

Reply via email to