0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

runtime(java): Make changes for JDK 24 in syntax script

- "Demote" SecurityManager from the list of java.lang class
  types to javaLangDeprecated.
- Reintroduce supported syntax-preview-feature numbers 455
  and 476 as _new numbers_ 488 and 494, respectively.

References:
- https://openjdk.org/jeps/486 (Permanently Disable the Security Manager)
- https://openjdk.org/jeps/488 (Primitive Types in Patterns etc.)
- https://openjdk.org/jeps/494 (Module Import Declarations)

closes: #16977

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Aliaksei Budavei
2025-03-29 09:16:30 +01:00
committed by Christian Brabandt
parent f2b16986a1
commit 1054b18291
5 changed files with 22 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
// VIM_TEST_SETUP let g:java_syntax_previews = [455]
// VIM_TEST_SETUP let g:java_syntax_previews = [455, 488]

View File

@@ -29,4 +29,4 @@ autocmd_add([{
once: true,
}])
g:java_syntax_previews = [476]
g:java_syntax_previews = [476, 494]