mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove time-consuming gc
This commit is contained in:
@@ -336,9 +336,7 @@ public class LibraryTest extends ModuleRootManagerTestCase {
|
||||
PsiClass aClass = JavaPsiFacade.getInstance(getProject()).findClass("l.InLib", GlobalSearchScope.allScope(getProject()));
|
||||
assertNotNull(aClass);
|
||||
|
||||
System.gc();
|
||||
System.gc();
|
||||
System.gc(); // ?? unlock the file?
|
||||
// wait until unlock the file?
|
||||
while (!FileUtil.delete(new File(libDir.getPath(),"lib.jar"))) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user