groovy/groovy-core — pull request #541 by armsargis (2014-11-27 21:33:46+00:00)
Title: GROOVY-7181: Change DefaultGroovyMethods inject to avoid closure arguments mutation

Change DefaultGroovyMethods inject to avoid closure arguments mutation, it creates problem currently for memoization because of Arrays.asList(Object[] params) use as key for caching value but during the iteration underlying array modified and which is breaking java.util.Map contract.