]> git.basschouten.com Git - openhab-addons.git/commitdiff
Disable "Improved ZIP64 Extra Field Validation" in itests (#15389)
authorWouter Born <github@maindrain.net>
Sun, 13 Aug 2023 16:41:31 +0000 (18:41 +0200)
committerGitHub <noreply@github.com>
Sun, 13 Aug 2023 16:41:31 +0000 (18:41 +0200)
This prevents ZipException stacktraces when running the itests on JDK 17.0.8 or newer.

Related to:

* openhab/openhab-core#3718
* openhab/openhab-core#3747

Signed-off-by: Wouter Born <github@maindrain.net>
itests/itest-common.bndrun

index ec972b88c702bdbffd6da3a3a1579cbc7bb41878..580261550dce9ad2c659e5b50ef2e2f5ce8cf8fa 100644 (file)
@@ -23,7 +23,9 @@ Test-Cases: ${classes;CONCRETE;PUBLIC;NAMED;*Test}
 
 # An unused random HTTP port is used during tests to prevent resource conflicts
 # This property is set by the build-helper-maven-plugin in the itests pom.xml
--runvm: -Dorg.osgi.service.http.port=${org.osgi.service.http.port}
+-runvm: \
+       -Djdk.util.zip.disableZip64ExtraFieldValidation=true,\
+       -Dorg.osgi.service.http.port=${org.osgi.service.http.port}
 
 # The integration test itself does not export anything.
 Export-Package: