mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
better assertion info
This commit is contained in:
@@ -2378,7 +2378,9 @@ public class CompileDriver {
|
||||
final boolean justCreated = file.mkdirs();
|
||||
vFile = lfs.refreshAndFindFileByIoFile(file);
|
||||
|
||||
assert vFile != null: "Virtual file not found for " + file.getPath() + "; mkdirs() exit code is " + justCreated;
|
||||
if (vFile == null) {
|
||||
assert false: "Virtual file not found for " + file.getPath() + "; mkdirs() exit code is " + justCreated + "; file exists()? " + file.exists();
|
||||
}
|
||||
|
||||
return vFile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user