Scala Programming Language
  1. Scala Programming Language
  2. SI-6616

Check thread invariant in the presentation compiler

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Scala 2.10.0
    • Fix Version/s: Scala 2.10.1
    • Component/s: None
    • Labels:
      None

      Description

      Certain calls in the presentation compiler need to be executed only in the presentation compiler thread (such as `sym.info`).

      Currently the compiler does not check it, and that may lead to an inconsistent state, eventually leading to crashes or spurious errors.

        Activity

        Hide
        Adriaan Moors added a comment -
        Show
        Adriaan Moors added a comment - for 2.10.1, fixed by https://github.com/scala/scala/pull/1583

          People

          • Assignee:
            Iulian Dragos
            Reporter:
            Iulian Dragos
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development