From 1d84904e134e1c53c9a7b91f57e49b2a227aa187 Mon Sep 17 00:00:00 2001 From: Parth Thakkar Date: Wed, 2 Mar 2022 14:40:15 -0600 Subject: [PATCH 1/2] Make java.configuration.runtimes machine-overridable Signed-off-by: Parth --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c93ce6e7cd..3b9f6c296c 100644 --- a/package.json +++ b/package.json @@ -721,7 +721,7 @@ "additionalProperties": false }, "default": [], - "scope": "machine" + "scope": "machine-overridable" }, "java.server.launchMode": { "type": "string", From 46f8e016fd20b9174b808a8789bb80a32f7803b6 Mon Sep 17 00:00:00 2001 From: Parth Thakkar Date: Tue, 8 Mar 2022 01:42:50 -0600 Subject: [PATCH 2/2] Mark java.configuration.runtimes untrusted Change as per: https://github.com/redhat-developer/vscode-java/pull/2337#issuecomment-1060156288 Signed-off-by: Parth Thakkar --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3b9f6c296c..e6249df0a6 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "restrictedConfigurations": [ "java.jdt.ls.java.home", "java.home", - "java.jdt.ls.vmargs" + "java.jdt.ls.vmargs", + "java.configuration.runtimes" ] }, "virtualWorkspaces": false