Draft JEP: Primitive Types in Patterns, instanceof, and switch (Second Preview)

Angelos Bimpoudis angelos.bimpoudis at oracle.com
Fri Aug 30 13:55:50 UTC 2024


Dear experts,

A draft JEP for the second preview of primitive types in patterns, instanceof, and switch is now available. We propose to preview it for a second time with no changes relative to JDK 23. This feature aligns what instanceof and pattern matching mean across all types. This second preview, unchanged, gives ample time to amber experts to express their feedback.

https://bugs.openjdk.org/browse/JDK-8335876

Let us know of your feedback.

Thank you,
Angelos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-experts/attachments/20240830/1856bd32/attachment.htm>


More information about the amber-spec-experts mailing list