[
https://issues.apache.org/jira/browse/LUCENE-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler resolved LUCENE-9587.
-----------------------------------
Resolution: Fixed
> 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
> Priority: Major
> Labels: Java16
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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 or latest JDK 17 will default to this setting anyways, so we should
> again make sure that testing works under restricted conditions! Here is the
> JEP: https://openjdk.java.net/jeps/396
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]