File: adding_opens_arg_for_tests.patch

package info (click to toggle)
libgoby-java 3.3.1%2Bdfsg2-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 58,108 kB
  • sloc: java: 78,105; cpp: 5,011; xml: 3,170; python: 2,108; sh: 1,575; ansic: 277; makefile: 114
file content (16 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (3)
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>