File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
gateway-release-common/home/bin Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -169,16 +169,6 @@ function addAppJavaOpts {
169169 done
170170}
171171
172- function addJdk17Properties {
173- # Add properties to enable Knox to run on JDK 17
174- JAVA_VERSION=$( " $JAVA " -version 2>&1 | awk -F ' "' ' /version/ {print $2}' )
175- CHECK_VERSION_17=" 17"
176- if [[ " $JAVA_VERSION " == * " $CHECK_VERSION_17 " * ]]; then
177- echo " Java version is $CHECK_VERSION_17 . Adding properties to enable Knox to run on JDK 17"
178- addAppJavaOpts " -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-exports java.base/sun.security.pkcs=ALL-UNNAMED --add-exports java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-opens java.base/sun.security.util=ALL-UNNAMED"
179- fi
180- }
181-
182172function buildAppJavaOpts {
183173 if [ -n " $APP_MEM_OPTS " ]; then
184174 addAppJavaOpts " ${APP_MEM_OPTS} "
@@ -196,8 +186,6 @@ function buildAppJavaOpts {
196186 addAppJavaOpts " ${APP_JAVA_LIB_PATH} "
197187 fi
198188
199- addJdk17Properties
200-
201189 # echo "APP_JAVA_OPTS =" "${APP_JAVA_OPTS[@]}"
202190}
203191
Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ function buildAppJavaOpts {
6262 addAppJavaOpts " ${APP_JAVA_LIB_PATH} "
6363 fi
6464
65- addJdk17Properties
66-
6765 # echo "APP_JAVA_OPTS =" "${APP_JAVA_OPTS[@]}"
6866}
6967
You can’t perform that action at this time.
0 commit comments