Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit e95f31a

Browse files
committed
add --illegal-access=permit for Java 16 / 17 tests
1 parent 2e068d8 commit e95f31a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testng.cmd.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ SET NO_DELEG=-Djava8.util.Spliterators.jre.delegation.enabled=false
2929

3030
SET USE_ITERATOR_SPLITERATOR=-Djava8.util.Spliterators.assume.oracle.collections.impl=false
3131

32+
SET PERMIT=--illegal-access=permit
33+
3234

3335

3436
%JAVA8% -cp .;./* %ARGS%
@@ -49,9 +51,9 @@ SET USE_ITERATOR_SPLITERATOR=-Djava8.util.Spliterators.assume.oracle.collections
4951

5052
%JAVA15% %PAR_GC% -cp .;./* %ARGS%
5153

52-
%JAVA16% %PAR_GC% -cp .;./* %ARGS%
54+
%JAVA16% %PAR_GC% %PERMIT% -cp .;./* %ARGS%
5355

54-
%JAVA17% %PAR_GC% -cp .;./* %ARGS%
56+
%JAVA17% %PAR_GC% %PERMIT% -cp .;./* %ARGS%
5557

5658

5759

0 commit comments

Comments
 (0)