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

Reply via email to