Sorry, meant to say 8.8.2 Solr.

I read those JIRA reports, and found in common-build.xml:

<property name="tests.useSecurityManager"  value="true" />


I set that to be false and the exception is gone from the output of the tests.



> On Apr 15, 2021, at 3:44 PM, Mike Drob <md...@mdrob.com> 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
> <sirgilli...@yahoo.com.invalid> 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)

Reply via email to