scala-ide/scala-ide — pull request #732 by dragos (2014-07-03 15:33:59+00:00)
Title: Don't use Scala reflection for asInstanceOfOpt

asInstanceOfOpt is broken by trying to be too smart. There is no point
in using runtime reflection for subtype checks, since the value on which
we reflect only carries the erased type anyway. Simplified to use
`ClassTag` and documented the behavior. (and got rid of two deadlocks)

Fixed #1002128, #1002152