On Fri, 14 Nov 2025 07:31:32 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>I couldn't find any issue with it.

You can reproduce this issue with a custom renderer that depends on some data 
from the tree. If that data in turn depends on the current UI, then the 
renderer may continue using outdated UI information.

Most components update their UI starting from the current component down the 
subtree: either by calling updateComponentTreeUI or by using the same pattern 
deleted in this patch. Examples JComboBox, JInternalFrame, JList, etc.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28258#discussion_r2528993931

Reply via email to