[ 
https://issues.apache.org/jira/browse/GROOVY-10199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Milles updated GROOVY-10199:
---------------------------------
    Fix Version/s: 3.0.9

> ASTTest cannot reference types from transform classpath
> -------------------------------------------------------
>
>                 Key: GROOVY-10199
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10199
>             Project: Groovy
>          Issue Type: Bug
>          Components: xforms
>    Affects Versions: 2.5.14, 3.0.8, 4.0.0-alpha-3
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Minor
>             Fix For: 4.0.0-beta-1, 3.0.9
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Consider the following:
> {code:groovy}
> class C {
>   void test() {
>     @groovy.transform.ASTTest(value={
>       org.apache.commons.lang3.tuple.Pair.of(node,null)
>     })
>     def var = null
>   }
> }
> {code}
> With {{commons-lang3.jar}} on the compiler classpath, this code emits error 
> "Cannot get property 'apache' on null object".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to