sdedic opened a new pull request, #7748: URL: https://github.com/apache/netbeans/pull/7748
Seems awkward... but sometimes events are delivered *in the middle* of a project loading process. The API checks the project's state at the end for quality and/or consistency - and that can cause spurious errors about project reloads while reading it. This PR improves stability by allowing a recovery - but at the same time if a reload would be repeated again because of file changes, the `ProjectReload.withProjectState()` fails indicating that project is being modified, as it was before. Similar approach was already implemented for the case the `ProjectReloadImplementation` requested a retry: one is OK, but the same (super)set repeated again will result in an error. During investigation, I needed quite detailed logging, so I've added that as a separate commit; the "logging" commit should bring no functional changes, just diagnostics. -- 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
