Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
When throwing an exception in the overriden setProperty() of a GroovyObject, the exception is trapped and not rethrown appropriately.
The following example exhibits the problem:
class Foo {
def visited = false
def setPar(val)
}
def foo = new Foo(par:null)
assert foo.visited == false