The following JEP is targeted to JDK 27: 532: Primitive Types in Patterns, instanceof, and switch (Fifth Preview)