This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Consider a directory with several links, as the one listed below. drwxrwxr-x 2 vk vk 4.0K Mar 9 20:09 ./ drwxrwxr-x 28 vk vk 4.0K Mar 9 19:24 ../ lrwxrwxrwx 1 vk vk 9 Mar 9 19:24 t1.txt -> ../t1.txt lrwxrwxrwx 1 vk vk 9 Mar 9 19:24 t2.txt -> ../t2.txt lrwxrwxrwx 1 vk vk 12 Mar 9 20:09 tip.patch -> ../tip.patch lrwxrwxrwx 1 vk vk 8 Mar 9 20:09 t.txt -> ../t.txt Call to refresh() for this directory leads to 5 calls to this directory ls (fs_server or sftp). Mozilla build contains a directory with hundreds or even thousands links. This makes refresh last for ages.
This can be related to issue 257890 and issue 258196
fixed in cnd-main http://hg.netbeans.org/cnd-main/rev/82116e894c36 http://hg.netbeans.org/cnd-main/rev/2fbdcbdea186 http://hg.netbeans.org/cnd-main/rev/b6a7aa27bf46 http://hg.netbeans.org/cnd-main/rev/3667f42eeffb http://hg.netbeans.org/cnd-main/rev/c1eed9369e95
Integrated into 'main-silver', will be available in build *201603110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/82116e894c36 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: test for #258294 - Refreshing directory with a links causes multiple refreshes
Integrated into 'main-silver', will be available in build *201603130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/39d36f573784 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: i18n (#258294 - Refreshing directory with a links causes multiple refreshes)
verified in builds on enum server