On Thu, 12 Jun 2025 22:54:02 GMT, Sergey Bylokhov <[email protected]> wrote:
> I would like to confirm that we treat ThreadGroup based sandboxing as
> equivalent to AppContext based sandboxing. There are a few places where we
> still use ThreadGroup instead of AppContext, and I believe we can drop that
> usage at the same time AppContext is removed, even if the specification
> includes statements like "Each {@code ThreadGroup} will receive its own
> instance." - correct?
I *think* that is true. The word/name AppContext probably should never be in
API doc and saying ThreadGroup is a decent substitute, but wherever we did
either of these for the sake of applet partitioning they can probably all go
away. I hope spec. appearances are rare.
Eliminating AppContext is going to be a good size piece by piece project even
without that.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25698#discussion_r2145928751