File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
jboss/container/wildfly/run/1.0/common/artifacts/opt/jboss/container/wildfly/run Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,15 @@ GC_METASPACE_SIZE=${GC_METASPACE_SIZE:-96}
3434
3535JAVA_OPTS=" $( adjust_java_options ${JAVA_OPTS} ) "
3636
37- # If JAVA_DIAGNOSTICS and there is jvm_specific_diagnostics, move the settings to PREPEND_JAVA_OPTS
38- # to bypass the specific EAP checks done on JAVA_OPTS in standalone.sh that could remove the GC EAP specific log configurations
39- JVM_SPECIFIC_DIAGNOSTICS=$( jvm_specific_diagnostics)
40- if [ " x$JAVA_DIAGNOSTICS " != " x" ] && [ " x{JVM_SPECIFIC_DIAGNOSTICS}" != " x" ]; then
41- JAVA_OPTS=${JAVA_OPTS/ ${JVM_SPECIFIC_DIAGNOSTICS} / }
42- PREPEND_JAVA_OPTS=" ${JVM_SPECIFIC_DIAGNOSTICS} ${PREPEND_JAVA_OPTS} "
37+ # Has been removed for UBI10 openjdk support
38+ if [ -n " $( type -t jvm_specific_diagnostics) " ]; then
39+ # If JAVA_DIAGNOSTICS and there is jvm_specific_diagnostics, move the settings to PREPEND_JAVA_OPTS
40+ # to bypass the specific EAP checks done on JAVA_OPTS in standalone.sh that could remove the GC EAP specific log configurations
41+ JVM_SPECIFIC_DIAGNOSTICS=$( jvm_specific_diagnostics)
42+ if [ " x$JAVA_DIAGNOSTICS " != " x" ] && [ " x{JVM_SPECIFIC_DIAGNOSTICS}" != " x" ]; then
43+ JAVA_OPTS=${JAVA_OPTS/ ${JVM_SPECIFIC_DIAGNOSTICS} / }
44+ PREPEND_JAVA_OPTS=" ${JVM_SPECIFIC_DIAGNOSTICS} ${PREPEND_JAVA_OPTS} "
45+ fi
4346fi
4447
4548# Make sure that we use /dev/urandom (CLOUD-422)
You can’t perform that action at this time.
0 commit comments