Uwe Schindler created LUCENE-9587: ------------------------------------- Summary: Tests in gradle do not run with "--illegal-access=deny" like in 8.x Key: LUCENE-9587 URL: https://issues.apache.org/jira/browse/LUCENE-9587 Project: Lucene - Core Issue Type: Bug Components: general/test Affects Versions: master (9.0) Reporter: Uwe Schindler Assignee: Uwe Schindler
In LUCENE-8035 we added {{--illegal-access=deny}} to the JVM options to enfoce that no code is using any internal JDK APIs. https://github.com/apache/lucene-solr/blob/branch_8x/lucene/common-build.xml#L1053-L1055 While changing to Gradle we lost this option somehow. We need to add it back, as JDK 16 will default to this setting anyways, so we should again make sure that testing works under restricted conditions! -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org