Skip to content

Commit

Permalink
Disable "Improved ZIP64 Extra Field Validation" (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
wborn authored Jul 26, 2023
1 parent 1c35612 commit 95bc802
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions distributions/openhab/src/main/resources/bin/setenv
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export JAVA_OPTS="${JAVA_OPTS}
-Dopenhab.logdir=${OPENHAB_LOGDIR}
-Dfelix.cm.dir=${OPENHAB_USERDATA}/config
-Djava.library.path=${OPENHAB_USERDATA}/tmp/lib
-Djdk.util.zip.disableZip64ExtraFieldValidation=true
-Djetty.host=${HTTP_ADDRESS}
-Djetty.http.compliance=RFC2616
-Dorg.apache.cxf.osgi.http.transport.disable=true
Expand Down
1 change: 1 addition & 0 deletions distributions/openhab/src/main/resources/bin/setenv.bat
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ set JAVA_OPTS=%JAVA_OPTS% ^
-Dopenhab.logdir=%OPENHAB_LOGDIR% ^
-Dfelix.cm.dir=%OPENHAB_USERDATA%\config ^
-Djava.library.path=%OPENHAB_USERDATA%\tmp\lib ^
-Djdk.util.zip.disableZip64ExtraFieldValidation=true ^
-Djetty.host=%HTTP_ADDRESS% ^
-Djetty.http.compliance=RFC2616 ^
-Dorg.apache.cxf.osgi.http.transport.disable=true ^
Expand Down
1 change: 1 addition & 0 deletions launch/app/app.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ feature.openhab-model-runtime-all: \
bnd.identity;id='org.apache.servicemix.specs.jaxb-api-2.3'

-runproperties: \
jdk.util.zip.disableZip64ExtraFieldValidation=true,\
felix.cm.dir=${.}/runtime/userdata/config,\
org.osgi.framework.bootdelegation="sun.misc",\
org.osgi.service.http.port=8080,\
Expand Down

0 comments on commit 95bc802

Please sign in to comment.