[jira] [Updated] (LUCENE-9587) Tests in gradle do not run with "--illegal-access=deny" like in 8.x

2020-10-27 Thread Uwe Schindler (Jira)


 [ 
https://issues.apache.org/jira/browse/LUCENE-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-9587:
--
Fix Version/s: master (9.0)

> 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
> Fix For: master (9.0)
>
>  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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Updated] (LUCENE-9587) Tests in gradle do not run with "--illegal-access=deny" like in 8.x

2020-10-27 Thread Uwe Schindler (Jira)


 [ 
https://issues.apache.org/jira/browse/LUCENE-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-9587:
--
Description: 
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

  was:
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! Here is the JEP: 
https://openjdk.java.net/jeps/396


> 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



[jira] [Updated] (LUCENE-9587) Tests in gradle do not run with "--illegal-access=deny" like in 8.x

2020-10-27 Thread Uwe Schindler (Jira)


 [ 
https://issues.apache.org/jira/browse/LUCENE-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-9587:
--
Description: 
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! Here is the JEP: 
https://openjdk.java.net/jeps/396

  was:
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!


> 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
>  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 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



[jira] [Updated] (LUCENE-9587) Tests in gradle do not run with "--illegal-access=deny" like in 8.x

2020-10-27 Thread Uwe Schindler (Jira)


 [ 
https://issues.apache.org/jira/browse/LUCENE-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-9587:
--
Labels: Java16  (was: )

> 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 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