On Wed, 27 Mar 2024 20:19:41 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
> However, there are cases where instantiating and testing is safe on main > thread. That is my point, make it less safe - when the component is created on one thread:EDT and then for some reason accessed on a different thread, the rescanCurrentDirectory should still work. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18109#discussion_r1543954407