Mike, I think you are on to it. I am building Solr 8.2.1 using OpenJDK openjdk version "1.8.0_282" OpenJDK Runtime Environment (build 1.8.0_282-bre_2021_01_20_16_37-b00)
How is a security policy used in the ANT build? I am unfamiliar with ANT. I will gladly change something to see if it works. (I have been using Maven and Gradle). I am willing to try any suggestions. Thanks you. > On Apr 15, 2021, at 3:44 PM, Mike Drob <[email protected]> wrote: > > OpenJDK 11 is fine for building the main (9x) branch. > > This is probably https://issues.apache.org/jira/browse/SOLR-14084 or > https://issues.apache.org/jira/browse/SOLR-15222 and happens sometimes > when the test randomization includes the security policy. > > It's something I've been wanting to look at but keeps getting pushed > for other priorities. > > On Thu, Apr 15, 2021 at 11:39 AM Phill Campbell > <[email protected]> wrote: >> >> Is there a guide or recommendations for building on Mac OS Catalina? >> >> Which JDK do you use? >> >> >> >> This is one of the errors I currently get running the tests. >> >> [junit4] 2> 7123 WARN >> (SUITE-TestCircuitBreaker-seed#[597FF1CD7ECC0E37]-worker) [ ] >> o.a.s.c.CoreContainer Unable to create >> [.../solr/core/src/test-files/solr/userfiles]. Features requiring this >> directory may fail. >> [junit4] 2> => java.security.AccessControlException: access >> denied ("java.io.FilePermission” >> “.../solr/core/src/test-files/solr/userfiles" "write") >> [junit4] 2> at >> java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
