New candidate JEP: 530: Primitive Types in Patterns, instanceof, and switch (Fourth Preview)

Mark Reinhold mark.reinhold at oracle.com
Mon Oct 27 16:18:30 UTC 2025


https://openjdk.org/jeps/530

  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


More information about the amber-dev mailing list