Skip to content

Commit

Permalink
Re #1000631. Modified so the compilers are not reset when the classpa…
Browse files Browse the repository at this point in the history
…th is invalid.

The reset in this case is useless, generates log and was making the tests fail on trully
headless systems.
  • Loading branch information
Luc Bourlier committed Oct 28, 2011
1 parent 9125945 commit 597eab4
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -401,10 +401,14 @@ class ScalaProject(val underlying: IProject) extends HasLogger {
def classpathHasChanged() {
classpathCheckLock.synchronized {
try {
resetCompilers()
// mark as in progress
classpathHasBeenChecked= false
checkClasspath()
if (classpathValid) {
// no point to reset the compilers on an invalid classpath,
// it would not work anyway
resetCompilers()
}
}
}
}
Expand Down

0 comments on commit 597eab4

Please sign in to comment.