scala-ide/scala-ide — pull request #608 by dotta (2013-12-16 12:34:00+00:00)
Title: Workaround for race condition during source indexing

(This is a reopening of https://github.com/scala-ide/scala-ide/pull/595, due to https://github.com/scala-ide/scala-ide/pull/595#issuecomment-30657074)

Initialize the `TupleClass` symbol to prevent the presentation compiler
assertion that checks thread confinement to fail on parse trees, as
demonstrated by Re #1001986. This is a workaround for scalac ticket SI-8030, as
we need the fix to be readily available on Scala 2.10 as well.

Calling `initialize` is sufficient according to @retronym, as highlighted in
this comment https://github.com/scala/scala/pull/3262/files#r8361292