Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2166

ExpandoMetaClass causes exceptions with multiple threads, need to sync on isInitialised()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1-beta-1, 1.1-beta-2, 1.1-beta-3
    • 1.1-rc-1
    • None
    • None

    Description

      EMC causes exception like "initialize must be called for meta class of Foo" when meta classes are modified at runtime. The problem is the isInitialised() method is not synchronized

      Attachments

        Activity

          People

            graemerocher Graeme Rocher
            graemerocher Graeme Rocher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: