void () { VirtualFile a = createFile("src/A.java", "class A{}"); Module m = addModule("m", a.getParent()); make(m); assertOutput(m, fs().file("A.class")); File systemDirectory = BuildManager.getInstance().getProjectSystemDirectory(myProject); assertTrue(FileUtil.delete(new File(systemDirectory, "timestamps"))); changeFile(a, "class A{int b;}"); make(m).assertGenerated("A.class"); make(m).assertUpToDate(); File file = new File(systemDirectory, "timestamps/data"); corruptCaches(file); changeFile(a, "class A{int c;}"); make(m).assertGenerated("A.class"); make(m).assertUpToDate(); }