Hi,
the following code leads to a java.lang.UnsupportedOperationException:
def runner = [
run: { println 'x' }
] as Runnable
println runner
I see the general idea behind throwing this for unimplemented methods. But toString is a special animal.
- Hans
--
Hans Dockter
Founder, Gradle
http://www.gradle.org,
http://twitter.com/gradleorgCEO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz