Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala Pattern Matching on Java Records (JEP-440) #20561

Open
SethTisue opened this issue Jun 12, 2024 Discussed in #18115 · 1 comment
Open

Scala Pattern Matching on Java Records (JEP-440) #20561

SethTisue opened this issue Jun 12, 2024 Discussed in #18115 · 1 comment
Assignees
Labels
area:jdk Issues tied to artifacts published under a particular jdk compat:java:jep:stable Issues corresponding to a JEP which got already delivered as a stable feature in a JDK release compat:java:jep Issues corresponding to a JEP (JDK Enhancement Proposal) compat:java itype:enhancement needs-minor-release This PR cannot be merged until the next minor release

Comments

@SethTisue
Copy link
Member

Discussed in #18115

Originally posted by utenma July 2, 2023
Java 21 added a very basic pattern matching for Java records, following @smarter's feedback
there is chance Scala can take advantage of them.

image

@SethTisue
Copy link
Member Author

SethTisue commented Jun 12, 2024

I agree that this should be fairly high priority. Good Java interop has always been one of the engines driving Scala's success, so we shouldn't let that slide, or not too far or for too long, anyway.

@Gedochao can you tag and/or milestone this appropriately?

@Gedochao Gedochao changed the title Scala Pattern Matching on Java Records Scala Pattern Matching on Java Records (JEP-440) Jun 13, 2024
@Gedochao Gedochao added itype:enhancement compat:java area:jdk Issues tied to artifacts published under a particular jdk labels Jun 13, 2024
@Gedochao Gedochao added compat:java:jep Issues corresponding to a JEP (JDK Enhancement Proposal) compat:java:jep:stable Issues corresponding to a JEP which got already delivered as a stable feature in a JDK release labels Jul 4, 2024
@Gedochao Gedochao added the needs-minor-release This PR cannot be merged until the next minor release label Aug 20, 2024
@dwijnand dwijnand self-assigned this Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:jdk Issues tied to artifacts published under a particular jdk compat:java:jep:stable Issues corresponding to a JEP which got already delivered as a stable feature in a JDK release compat:java:jep Issues corresponding to a JEP (JDK Enhancement Proposal) compat:java itype:enhancement needs-minor-release This PR cannot be merged until the next minor release
Projects
None yet
Development

No branches or pull requests

3 participants