JDK 25 ScopedValue vs ThreadLocal — what changes in a

Request tenant, correlation id, and security principal go in a ScopedValue.where(CTX, ctx).run(...) around the work. I do not set ThreadLocal in a filter...

JDK 25 ScopedValue vs ThreadLocal — what changes in a · Home · Support the platform