Skip to content

value keyword for Value Classes #8994

@mambastudio

Description

@mambastudio

Description

Introduce recognition of the value keyword in Java source files to support Valhalla Early Access builds (OpenJDK 26 and beyond). This enhancement would ensure correct syntax highlighting, parsing, and code completion for the new Value Objects feature introduced under Project Valhalla.

Use case/motivation

The OpenJDK team is standardizing Value Objects as part of Project Valhalla. With the introduction of the value keyword in early-access builds of OpenJDK 26, IDE support is essential for developers testing and adopting this feature. NetBeans should recognize the value keyword similarly to existing Java keywords (e.g., record, sealed, permits) to maintain feature parity and developer experience with other IDEs.

Related issues

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)kind:featureA feature requestnb-javacRun nb-javac integration testsneeds:triageRequires attention from one of the committers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions