|
This was introduced as a side effect of providing more context to the Groovy class parser. Apparently Groovy sometimes tries to derive a class name from the passed-in resource descriptor... Hence, I've revised StaticScriptSource to expose "StaticScript" as toString result (instead of "static script"), in order for Groovy to derive a valid class name from it. Thanks for pointing this out, Dave! Should be fixed in tonight's 2.5.1 snapshot. Juergen P.S.: I'm always reproducing test cases in my local IDE, so no Maven problems here |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Test case attached as Eclipse / Maven project (the spring-2.5.jar will have to be manually installed because of a bug in the 25 distro). Two tests with identical Groovy code - one passes and the other (inlined script) fails.