On Wed, 24 Jun 2026 16:52:40 GMT, Chen Liang <[email protected]> wrote:
> Reflective preview APIs can be used out of preview. Thus it is meaningful for > us to note how they behave when preview features are disabled. > > I hope this can clarify some common misconceptions and help onboarding to the > JEP 401 reflection model. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). src/java.base/share/classes/java/lang/Class.java line 1392: > 1390: * <div class="preview-comment"> > 1391: * When preview features are enabled, if this {@code > Class} object > 1392: * represents a class that does not use preview features > or an The old wording can be read as a class that doesn’t use arrays: Suggestion: * represents a class that does not use preview features or is an src/java.base/share/classes/java/lang/Class.java line 1458: > 1456: * <div class="preview-comment"> > 1457: * When preview features are enabled, if this {@code > Class} object > 1458: * represents a class that does not use preview features > or an Suggestion: * represents a class that does not use preview features or is an ------------- PR Review Comment: https://git.openjdk.org/valhalla/pull/2578#discussion_r3473587343 PR Review Comment: https://git.openjdk.org/valhalla/pull/2578#discussion_r3473588901
