On Sun, 16 Nov 2025 06:44:58 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. > >> You can reproduce this issue with a custom renderer > Did you manage to reproduce? If yes, could you give me the reproducer then? > > Regarding other components, the submitter did talk about other JBS submitted > by him like JList for example being ignored so maybe same thing needs to be > done there too.. I do not think we should change the parent->child order. We need to figure out some other possibilities. Possibly some components that use the same logic are not affected because they perform additional recalculations at the end of their UI updates. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/28258#discussion_r2532566964
