Skip to content

Commit

Permalink
Disable "Improved ZIP64 Extra Field Validation" in itests
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
wborn committed Aug 9, 2023
1 parent 297640a commit 272aa08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion itests/itest-common.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 272aa08

Please sign in to comment.