In `PreviewFeature.Feature`, there is a `LANGUAGE_MODEL` for general support of 
preview features, currently used by `javax.lang` tree visitors. This is 
confusing as JEP 401 [incorrectly 
marked](https://github.com/openjdk/valhalla/pull/2533#discussion_r3391007566) a 
new language modifier as a `LANGUAGE_MODEL` preview feature API. This "feature" 
is better renamed `PREVIEW_SUPPORT` to reduce confusions.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - Update occurrence in javadoc test
 - Merge branch 'master' of https://github.com/openjdk/jdk into 
cleanup/preview-feature-support
 - Rename LANGUAGE_MODEL to PREVIEW_SUPPORT

Changes: https://git.openjdk.org/jdk/pull/31504/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31504&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8386601
  Stats: 24 lines in 11 files changed: 12 ins; 0 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/31504.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31504/head:pull/31504

PR: https://git.openjdk.org/jdk/pull/31504

Reply via email to