You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
Enhance pattern matching by allowing primitive type patterns in all pattern contexts, and extend instanceof and switch to work with all primitive types. This is a preview language feature.
This feature was originally proposed by JEP 455, and delivered as a preview feature in JDK 23
and the JDT Core issue #2298
The text was updated successfully, but these errors were encountered:
mpalat
changed the title
JEP draft: Primitive Types in Patterns, instanceof, and switch (Second Preview)
[24] JEP draft: Primitive Types in Patterns, instanceof, and switch (Second Preview)
Sep 5, 2024
ref: https://openjdk.org/jeps/8335876
Summary
Enhance pattern matching by allowing primitive type patterns in all pattern contexts, and extend instanceof and switch to work with all primitive types. This is a preview language feature.
This feature was originally proposed by JEP 455, and delivered as a preview feature in JDK 23
and the JDT Core issue #2298
The text was updated successfully, but these errors were encountered: