
JDK 28 Drops Primitive Pattern Matching After 5 Previews — Valhalla Conflict Cited
JDK 28 withdraws JEP 532 (Primitive Types in Patterns, instanceof, and switch) after five preview rounds because Project Valhalla's evolving numeric model may conflict with its exact numeric conversion semantics; the Amber team plans Constant Patterns as an alternative, retaining some gains.