On Wed, 18 Feb 2026 19:19:48 GMT, Phil Race <[email protected]> wrote:

> Remove AppContext from SwingUtilities2

src/java.desktop/share/classes/sun/swing/SwingUtilities2.java line 1243:

> 1241:     }
> 1242: 
> 1243:     private static final Map<Object, FontRenderContext> cache = new 
> HashMap<>();

This cache looks like it could grow without bounds but
(1) In fact the transforms are just the set of default transforms for graphics 
configs, so it is very limited
(2) Nothing changing here anyway.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29798#discussion_r2824036612

Reply via email to