On Fri, Oct 31, 2025 at 12:01 AM Stuart Marks <[email protected]>
wrote:

> Unfortunately the CatalogImpl object is mutated to hold temporary state
> that's used during the resolution process. This temporary state doesn't
> really belong in the object itself, so it seems likely that a fix would
> involve refactoring this temporary state out of the Catalog itself into an
> object owned by some resolver object (or similar).
>
This reminds me of a similar situation with the XML DOM classes like
org.w3c.dom.Element: instances are not thread safe even if the threads are
only accessing them read-only. This was surprising to me to discover at the
time.

Be careful out there! :)

-Archie

-- 
Archie L. Cobbs

Reply via email to