Re: About the tests failed on JDK16

2021-06-19 Thread Daniel Sun
> In JDK 17 the illegal-access flag is ignored and you can't open the internals > anymore. So you need a long term solution. Thanks for your reminder. JDK 16+ should be supported if the following PR is accepted: https://github.com/apache/groovy/pull/1598 Cheers, Daniel Sun On 2021/06/13 12:37:5

Re: About the tests failed on JDK16

2021-06-13 Thread Uwe Schindler
Hi, In JDK 17 the illegal-access flag is ignored and you can't open the internals anymore. So you need a long term solution. Uww Am June 13, 2021 9:22:17 AM UTC schrieb Daniel Sun : >FYI. "the default value of the launcher option --illegal-access is now >deny rather than permit" > >See also >ht

Re: About the tests failed on JDK16

2021-06-13 Thread Daniel Sun
FYI. "All proxy classes are not open for reflective access in Java SE 16." See also https://www.oracle.com/java/technologies/javase/16-relnotes.html core-libs/java.lang:reflect ➜ Proxy Classes Are Not Open for Reflective Access All proxy classes are not open for reflective access in Java SE 16.

Re: About the tests failed on JDK16

2021-06-13 Thread Daniel Sun
FYI. "the default value of the launcher option --illegal-access is now deny rather than permit" See also https://www.oracle.com/java/technologies/javase/16-all-relnotes.html ➜ JEP 396: Strongly Encapsulate JDK Internals by Default Strongly encapsulate all internal elements of the JDK by default,

About the tests failed on JDK16

2021-06-13 Thread Daniel Sun
Hi all, I created a branch[1] to try running tests with JDK16, and I found 39 tests failed[2]. If somebody have some spare time, let's look into the issues and try to fix them together. [1] https://github.com/apache/groovy/tree/danielsun/tweak-build [2] https://travis-ci.com/github/apache/gr