On Wed, 9 Apr 2025 22:17:35 GMT, Damon Nguyen <dngu...@openjdk.org> wrote:

> Open-sourcing and standardizing several tests (metal)

test/jdk/javax/swing/plaf/metal/MetalIconFactory/bug4952462.java line 57:

> 55:             
> UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
> 56: 
> 57:             MetalTheme theme = (MetalTheme) 
> AppContext.getAppContext().get("currentMetalTheme");

The usage of AppContext can be dropped, and replaced by some other public api.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24560#discussion_r2038748285

Reply via email to