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

ASF GitHub Bot commented on GROOVY-9585:
----------------------------------------

testlens-app[bot] commented on PR #2768:
URL: https://github.com/apache/groovy/pull/2768#issuecomment-5205445394

   ## ✅ All tests passed ✅
   
   🏷️ Commit: 52adbeae4ec7ad980575f95c056d83945775ff55
   ▶️ Tests:  108266 executed
   ⚪️ Checks: 31/31 completed
   
   ---
   _Learn more about TestLens at [testlens.app](https://testlens.app)._
   




> CompilerConfiguration copy constructor does not copy compilation customizers
> ----------------------------------------------------------------------------
>
>                 Key: GROOVY-9585
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9585
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Priority: Minor
>              Labels: breaking
>
> Consider the following:
> {code:groovy}
> import org.codehaus.groovy.control.*
> import org.codehaus.groovy.control.customizers.*
> def config = new CompilerConfiguration()
> config.addCompilationCustomizers(new ImportCustomizer().tap {
>   addStarImport('groovy.transform')
> })
> def clone = new CompilerConfiguration(config)
> assert clone.getCompilationCustomizers().size() == 1
> {code}
> Trying to copy from a base config (like one set up by STC and SC unit tests) 
> results in missing the compilation customizers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to