On Tue, 26 Nov 2024 18:13:22 GMT, Hannes Wallnöfer <hann...@openjdk.org> wrote:
> I think the logic behind it is that if a class is a preview feature so are > its members, and it doesn't have to be explicitly stated. There is some small inconsistency here: compare the `Stream.gather` without preview superscript in the summary, and the Gatherer nested interfaces with preview superscript in the summary. But it is just a minor inconvenience without real accessibility impact. https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/stream/Stream.html#method-summary https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/stream/Gatherer.html#nested-class-summary ------------- PR Comment: https://git.openjdk.org/jdk/pull/22393#issuecomment-2501760253