GitHub user jwagenleitner opened a pull request:

    https://github.com/apache/groovy/pull/237

    Safely publish MetaClass so threads wont see a partially constructed 
instance

    Added final where appropriate and limited plugin variable scope in invoke 
method.
    
    Related to PR #226 (GROOVY-7709), while full synchronization may not be 
required the lazily initialized `metaClass` should probably be `volatile`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jwagenleitner/groovy ConversionHandler

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/groovy/pull/237.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #237
    
----
commit f33df09674728a5d919770ac941873d7f3606826
Author: John Wagenleitner <jwagenleit...@apache.org>
Date:   2016-01-10T01:11:57Z

    Safely publish MetaClass so threads wont see a partially constructed 
instance.
    
    Added final where appropriate and limited plugin variable scope in invoke 
method.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to