Skip to content

Disable preview features from triage.properties #10337

@niloc132

Description

@niloc132

Running the emulation doc commands with Java 26 results in these lines (among many others) in triage.properties

members=java.util.List#ofLazy(int, IntFunction)\
java.util.Map#ofLazy(Set, Function)

However, these are preview-only features
https://docs.oracle.com/en/java/javase/26/docs/api/java.base/java/util/Map.html#ofLazy(java.util.Set,java.util.function.Function)

ofLazy is a preview API of the Java platform.
Programs can only use ofLazy when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.

We shouldn't even list these until they are no longer marked as preview.

When this is fixed, the gh1037.properties file should be deleted as no longer needed to build on java 26.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions