Dear experts:

The first draft of the spec covering JEP 488: Primitive Types in Patterns, 
instanceof, and switch (Second Preview) is available:

https://cr.openjdk.org/~abimpoudis/instanceof/jep488-20241014/specs/primitive-types-in-patterns-instanceof-switch-jls.html
(also https://cr.openjdk.org/~abimpoudis/instanceof/latest/)

Feel free to contact me directly or on this list with any comments.

Thanks
Angelos

________________________________
From: Mark Reinhold <[email protected]>
Sent: 30 September 2024 22:03
To: Angelos Bimpoudis <[email protected]>
Cc: [email protected] <[email protected]>; [email protected] 
<[email protected]>
Subject: New candidate JEP: 488: Primitive Types in Patterns, instanceof, and 
switch (Second Preview)

https://openjdk.org/jeps/488

  Summary: Enhance pattern matching by allowing primitive types in all
  pattern contexts, and extend instanceof and switch to work with all
  primitive types.  This is a preview language feature.

- Mark

Reply via email to