Skip to content

Commit

Permalink
fix: Enables parallel tests. (#838)
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus authored and GerardPaligot committed Sep 21, 2016
1 parent 40cf029 commit e8c1073
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,12 @@ protected void generateProcessedSourceFilesUsingCUs() {

// this function is used to hack the JDT compiler...
protected File createTmpJavaFile(File folder) {
File f = new File(folder, "Tmp.java");
File f;
try {
f = File.createTempFile("Tmp", ".java", folder);
} catch (IOException e1) {
throw new SpoonException(e1);
}
if (f.exists()) {
return f;
}
Expand Down

0 comments on commit e8c1073

Please # to comment.