Package: libgoby-java / 3.3.1+dfsg2-11

adding_opens_arg_for_tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: adding a --add-opens argument needed to run the tests, starting
 from OpenJDK17.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: no
Last-Update: 2022-11-18

--- a/goby-distribution/pom.xml
+++ b/goby-distribution/pom.xml
@@ -81,6 +81,7 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>debian</version>
                 <configuration>
+                    <argLine>--add-opens=java.base/java.lang=ALL-UNNAMED</argLine>
                     <excludes>
                         <exclude>**/TestGobyPaperTop5000s.java</exclude>
                         <exclude>**/TestIterateSortedAlignment.java</exclude>