Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.5.14, 3.0.8, 4.0.0-alpha-3
-
None
Description
Consider the following:
class C { void test() { @groovy.transform.ASTTest(value={ org.apache.commons.lang3.tuple.Pair.of(node,null) }) def var = null } }
With commons-lang3.jar on the compiler classpath, this code emits error "Cannot get property 'apache' on null object".