[ 
https://issues.apache.org/jira/browse/GROOVY-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451561#comment-17451561
 ] 

David Richter commented on GROOVY-10396:
----------------------------------------

Hello [~emilles], thanks for fix I can confirm that it works for our case, 
would it be possible to also fix it in 3.0?

Thanks.

> Static import is not applied for custom println method since 2.5.1
> ------------------------------------------------------------------
>
>                 Key: GROOVY-10396
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10396
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 2.5.1, 3.0.9
>            Reporter: David Richter
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 4.0.0-rc-2
>
>
> Static import for custom implementation of println method is not used neither 
> as ImportCustomizer of directly written in the script since Groovy version 
> 2.5.1
> The problem is mainly inside static methods as in instance methods there are 
> different ways to achieve having custom println implementation.
> Maybe caused by: https://issues.apache.org/jira/browse/GROOVY-8389
> Reproducer project: [https://github.com/Dave562CZ/groovy-import-bug]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to