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 types in all pattern contexts, and extend instanceof and switch to work with all primitive types.
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
mpalat
changed the title
[24] JEP draft: Primitive Types in Patterns, instanceof, and switch (Second Preview)
[24] JEP 488: Primitive Types in Patterns, instanceof, and switch (Second Preview)
Nov 4, 2024
ref: https://openjdk.org/jeps/488
https://bugs.openjdk.org/browse/JDK-8335876
JLS Changes here? => https://cr.openjdk.org/~abimpoudis/instanceof/latest/ - to confirm
Summary
Enhance pattern matching by allowing primitive types in all pattern contexts, and extend instanceof and switch to work with all primitive types.
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: