On Wed, 20 Dec 2023 09:28:47 GMT, Artem Semenov <aseme...@openjdk.org> wrote:
> NSAccessibility Outline is an accessibility representation of trees. > This representation requires that the visible children be represented as a > flat array. > The child linearization algorithm available in > ```CAccessibility.getChildrenAndRolesRecursive()``` is universal, i.e. > suitable for any object with the role of a tree, but is not efficient, since > it traverses the entire tree and selects suitable children. > For JTree, this algorithm can be optimized by using TreePath, but the old > algorithm will have to be retained to maintain versatility. I created a bug [JDK-8323965](https://bugs.openjdk.org/browse/JDK-8323965) @azuev-java Please check and if everything is good, I will integrate the current solution. ------------- PR Comment: https://git.openjdk.org/jdk/pull/17165#issuecomment-1895357988