You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2022/02/03 22:35:01 UTC
[jira] [Closed] (GROOVY-10199) ASTTest cannot reference types from transform classpath
[ https://issues.apache.org/jira/browse/GROOVY-10199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-10199.
------------------------------
> 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, 2.5.16
>
> 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.20.1#820001)