Skip to content

Commit 3832002

Browse files
maennchensschuberth
authored andcommitted
fix: remove removed Java Option illegal-access
Resolves the following warnings: ``` NOTE: Picked up JDK_JAVA_OPTIONS: --illegal-access=warn -Xmx5120m OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0 ``` Signed-off-by: Jonatan Männchen <[email protected]>
1 parent 3b6771e commit 3832002

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ runs:
385385
docker run \
386386
--mount type=bind,source=$HOME,target=/home/ort \
387387
-u $(id -u):$(id -g) \
388-
-e JDK_JAVA_OPTIONS="--illegal-access=warn -Xmx5120m" \
388+
-e JDK_JAVA_OPTIONS="-Xmx5120m" \
389389
-e ORT_DATA_DIR="/home/ort/${ORT_HOME_PATH}" \
390390
$ORT_DOCKER_CLI_ARGS \
391391
$ORT_DOCKER_IMAGE \
@@ -405,7 +405,7 @@ runs:
405405
docker run \
406406
--mount type=bind,source=$HOME,target=/home/ort \
407407
-u $(id -u):$(id -g) \
408-
-e JDK_JAVA_OPTIONS="--illegal-access=warn -Xmx5120m" \
408+
-e JDK_JAVA_OPTIONS="-Xmx5120m" \
409409
-e ORT_DATA_DIR="/home/ort/${ORT_HOME_PATH}" \
410410
$ORT_DOCKER_CLI_ARGS \
411411
$ORT_DOCKER_IMAGE \
@@ -434,7 +434,7 @@ runs:
434434
--mount type=bind,source=$HOME,target=/home/ort \
435435
--mount type=tmpfs,target=/tmp \
436436
-v ${SSH_AUTH_SOCK}:/ssh.socket \
437-
-e JDK_JAVA_OPTIONS="--illegal-access=warn -Xmx5120m" \
437+
-e JDK_JAVA_OPTIONS="-Xmx5120m" \
438438
-e ORT_DATA_DIR="/home/ort/${ORT_HOME_PATH}" \
439439
-e HTTP_FILE_SERVER_PASSWORD="${HTTP_FILE_SERVER_PASSWORD}" \
440440
-e HTTP_FILE_SERVER_TOKEN="${HTTP_FILE_SERVER_TOKEN}" \
@@ -468,7 +468,7 @@ runs:
468468
echo -e "\e[1;33m Running ORT Advisor... "
469469
docker run \
470470
--mount type=bind,source=$HOME,target=/home/ort \
471-
-e JDK_JAVA_OPTIONS="--illegal-access=warn -Xmx5120m" \
471+
-e JDK_JAVA_OPTIONS="-Xmx5120m" \
472472
-e ORT_DATA_DIR="/home/ort/${ORT_HOME_PATH}" \
473473
-u $(id -u):$(id -g) \
474474
$ORT_DOCKER_CLI_ARGS \
@@ -495,7 +495,7 @@ runs:
495495
echo -e "\e[1;33m Running ORT Evaluator... "
496496
docker run \
497497
--mount type=bind,source=$HOME,target=/home/ort \
498-
-e JDK_JAVA_OPTIONS="--illegal-access=warn -Xmx5120m" \
498+
-e JDK_JAVA_OPTIONS="-Xmx5120m" \
499499
-e ORT_DATA_DIR="/home/ort/${ORT_HOME_PATH}" \
500500
-u $(id -u):$(id -g) \
501501
$ORT_DOCKER_CLI_ARGS \
@@ -524,7 +524,7 @@ runs:
524524
echo -e "\e[1;33m Running ORT Reporter... "
525525
docker run \
526526
--mount type=bind,source=$HOME,target=/home/ort \
527-
-e JDK_JAVA_OPTIONS="--illegal-access=warn -Xmx5120m" \
527+
-e JDK_JAVA_OPTIONS="-Xmx5120m" \
528528
-e ORT_DATA_DIR="/home/ort/${ORT_HOME_PATH}" \
529529
-e POSTGRES_URL="${POSTGRES_URL}" \
530530
-e POSTGRES_USERNAME="${POSTGRES_USERNAME}" \

0 commit comments

Comments
 (0)