Skip to content

Commit 2ff0fb3

Browse files
authored
Merge pull request #338 from shivam71/jni_warnings_fix
Added JVM flag to disable JNI use warning with JDK 24.
2 parents a0ad1ff + e0ee543 commit 2ff0fb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vscode/src/lsp/launchOptions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ const extraLaunchOptions = [
5454
"--locale", l10n.nbLocaleCode(),
5555
"--start-java-language-server=listen-hash:0",
5656
"--start-java-debug-adapter-server=listen-hash:0",
57-
"-J-DTopSecurityManager.disable=true"
57+
"-J-DTopSecurityManager.disable=true",
58+
"-J--enable-native-access=ALL-UNNAMED"
5859
];
5960

6061
const prepareUserConfigLaunchOptions = (): string[] => {

0 commit comments

Comments
 (0)