JDK 26 drops in 3 days - Scoped Values become the new standard for request context:
Code reads like sequential logic, but scales to millions of concurrent requests.ThreadLocal is officially legacy in 2026.Scoped Values (stable since JDK 21) are now the clean, safe, zero-leak way