Skip to content

Investigate JEP 309: Dynamic Class-File Constants #22293

Open
@tgodzik

Description

@tgodzik

JEP 309 introduced Dynamic Class-File Constants, which at a glance seems useful to Scala. Especially since in the description it's mentioned:

We seek to reduce the cost and disruption of creating new forms of materializable class-file constants, which in turn offers language designers and compiler implementors broader options for expressivity and performance.

Since we are planning to update to a newer JDK at an unspecified future I hope we can figure out if this is in any way useful for us.

And if we can actually use them or whether it will be impossible for us.

Introduced in JDK 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:jdkIssues tied to artifacts published under a particular jdkcompat:java:jepIssues corresponding to a JEP (JDK Enhancement Proposal)compat:java:jep:stableIssues corresponding to a JEP which got already delivered as a stable feature in a JDK releaseitype:enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions