On Tue, 20 Jan 2026 20:40:30 GMT, Phil Race <[email protected]> wrote:

> And the containing package doc
>https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/javax/swing/text/html/package-summary.html
>Says "Most of the Swing API is not thread safe...."

This is mostly correct, except for cases where some parts of the API may be 
used by the lightweight AWT. 

>I don't understaand the comment about LazyConstants.
>The Stylesheet is not being eagerly created.

That comment referred to a task of removing the AppContext as a whole, where 
many things are now being moved into static blocks.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/29259#discussion_r2710226105

Reply via email to