Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.6
-
None
-
None
Description
In DGM respondsTo and hasProperty are not declared static:
public java.util.List respondsTo(java.lang.Object o, java.lang.String s) { /* compiled code */ } public groovy.lang.MetaProperty hasProperty(java.lang.Object o, java.lang.String s) { /* compiled code */ }
Hence they are broken and don't work as expected. Such core behavior should also be covered by unit tests to ensure that they actually work