Java compiler error reporting fixed
This commit is contained in:
@@ -385,7 +385,8 @@ public class JetTestUtils {
|
|||||||
null,
|
null,
|
||||||
javaFileObjectsFromFiles);
|
javaFileObjectsFromFiles);
|
||||||
|
|
||||||
Assert.assertTrue(errorsToString(diagnosticCollector), task.call());
|
Boolean success = task.call(); // do NOT inline this variable, call() should complete before errorsToString()
|
||||||
|
Assert.assertTrue(errorsToString(diagnosticCollector), success);
|
||||||
} finally {
|
} finally {
|
||||||
fileManager.close();
|
fileManager.close();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user