From 272aa08124949148b5fc03968210819a4d47ae66 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Wed, 9 Aug 2023 23:17:04 +0200 Subject: [PATCH] Disable "Improved ZIP64 Extra Field Validation" in itests 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 --- itests/itest-common.bndrun | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/itests/itest-common.bndrun b/itests/itest-common.bndrun index ec972b88c702b..580261550dce9 100644 --- a/itests/itest-common.bndrun +++ b/itests/itest-common.bndrun @@ -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: