[
https://issues.apache.org/jira/browse/GROOVY-9585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18102426#comment-18102426
]
ASF GitHub Bot commented on GROOVY-9585:
----------------------------------------
testlens-app[bot] commented on PR #2768:
URL: https://github.com/apache/groovy/pull/2768#issuecomment-5204534535
## ✅ All tests passed ✅
🏷️ Commit: 98e26d8340ce172f98fd5859d25b3bf9fcc7f575
▶️ Tests: 108142 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)