Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.3, 2.3.4
-
None
-
None
Description
The following code fails with a NullPointerException when the type checker is used:
class MyBean { private String var void setFoo(String foo) { var = foo } String toString() { var } } def b = new MyBean(foo: 'Test') assert b.toString() == 'Test'