sonatype-lift[bot] commented on a change in pull request #254: URL: https://github.com/apache/solr/pull/254#discussion_r699714106
########## File path: solr/core/src/java/org/apache/solr/core/SolrCore.java ########## @@ -828,6 +828,7 @@ void initIndex(boolean passOnPreviousState, boolean reload) throws IOException { try { writer = SolrIndexWriter.create(this, "SolrCore.initIndex", indexDir, getDirectoryFactory(), true, Review comment: *THREAD_SAFETY_VIOLATION:* Unprotected write. Non-private method `SolrCore.initIndex(...)` indirectly mutates container `core.SolrResourceLoader.classNameCache` via call to `Map.put(...)` outside of synchronization. Reporting because this access may occur on a background thread. (at-me [in a reply](https://help.sonatype.com/lift) with `help` or `ignore`) -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org