[ 
https://issues.apache.org/jira/browse/LUCENE-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221805#comment-17221805
 ] 

ASF subversion and git services commented on LUCENE-9587:
---------------------------------------------------------

Commit 9ce4b98af2155ba9d6d41e12ff12017c557a9ea4 in lucene-solr's branch 
refs/heads/master from Uwe Schindler
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=9ce4b98 ]

LUCENE-9587: Add '--illegal-access=deny' to test runner (#2039)



> 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: 10m
>  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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to