--- groovy-1.8.9/src/main/org/codehaus/groovy/runtime/MethodClosure.java.orig 2015-07-27 15:18:49.930409601 -0400 +++ groovy-1.8.9/src/main/org/codehaus/groovy/runtime/MethodClosure.java 2015-07-27 15:17:22.740117053 -0400 @@ -65,4 +65,8 @@ public class MethodClosure extends Closu return getMethod(); } else return super.getProperty(property); } + + private Object readResolve() { + throw new UnsupportedOperationException(); + } }