diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-03-29 09:29:44 +0100 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-03-29 14:29:26 +0100 |
| commit | d6a5bc4e8b69798b3accf17651b845d078a5743b (patch) | |
| tree | 18d3a4275302b9bf506d784d766600fa68b94026 /runtime/doc | |
| parent | ab00aec67bf987b241c927c374ffce489af04d85 (diff) | |
| download | rneovim-d6a5bc4e8b69798b3accf17651b845d078a5743b.tar.gz rneovim-d6a5bc4e8b69798b3accf17651b845d078a5743b.tar.bz2 rneovim-d6a5bc4e8b69798b3accf17651b845d078a5743b.zip | |
vim-patch:1054b18: 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: vim/vim#16977
https://github.com/vim/vim/commit/1054b18291ce611932bc949b22b87b78f1975ca9
Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/syntax.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index d44e3cea8e..93a385359d 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1723,12 +1723,12 @@ cycles for such a feature to become either integrated into the platform or withdrawn from this effort. To cater for early adopters, there is optional support in Vim for syntax related preview features that are implemented. You can request it by specifying a list of preview feature numbers as follows: > - :let g:java_syntax_previews = [455, 476] + :let g:java_syntax_previews = [488, 494] The supported JEP numbers are to be drawn from this table: `430`: String Templates [JDK 21] - `455`: Primitive types in Patterns, instanceof, and switch - `476`: Module Import Declarations + `488`: Primitive types in Patterns, instanceof, and switch + `494`: Module Import Declarations Note that as soon as the particular preview feature will have been integrated into the Java platform, its entry will be removed from the table and related |