Skip to content
Snippets Groups Projects
Commit 934c0b6d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

--add-opens can be used only in java-17

parent c321fc18
No related branches found
No related tags found
2 merge requests!1700Resolve "introduce new frontend to the jar file build process",!1505Java 17 compliance
Pipeline #57548 failed
......@@ -55,6 +55,8 @@ test:frontend:
stage: test
coverage: '/(\d+.\d+) \% covered/'
before_script:
# java.desktop module does not export Sun Graphics implementation for mockito
- export MAVEN_OPTS="$MAVEN_OPTS -DargLine=--add-opens=java.desktop/sun.java2d=ALL-UNNAMED"
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y libxrender1 libxtst6 fontconfig libfreetype6
- mvn dependency:purge-local-repository -DmanualInclude="lcsb.mapviewer"
......
......@@ -213,7 +213,6 @@
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
<surefire.rerunFailingTestsCount>4</surefire.rerunFailingTestsCount>
<argLine>--add-opens java.desktop/sun.java2d=ALL-UNNAMED</argLine>
</configuration>
</plugin>
<plugin>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment