On Fri, 12 Jun 2026 18:26:24 GMT, Chen Liang <[email protected]> wrote:

> A class or interface that permits a subclass or subinterface that is part of 
> a preview feature marks the permitting type as preview feature and generates 
> a preview notice for it. No preview message should be generated as the 
> permitted preview subclass does not affect normal use of the type.
> 
> This is relevant in the context of JEP 401 where 
> java.lang.classfile.Attribute and java.lang.classfile.ClassElement permit a 
> new preview interface LoadableDescriptorsAttribute, but should not be marked 
> as preview APIs.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Thanks for the review. Tier 1-3 on linux-x64 are all clear.

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

PR Comment: https://git.openjdk.org/jdk/pull/31505#issuecomment-4697634129

Reply via email to