[ https://issues.apache.org/jira/browse/GROOVY-11674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953548#comment-17953548 ]
ASF GitHub Bot commented on GROOVY-11674: ----------------------------------------- paulk-asert commented on PR #2229: URL: https://github.com/apache/groovy/pull/2229#issuecomment-2902659286 It may be possible to look at a different way to do the ordering. We have some assumptions about ordering in some places, e.g.: ``` int z = 0 int a = z ``` We don't want the order of those two to be swapped in generated initializer code. > Grails reproducible build > ------------------------- > > Key: GROOVY-11674 > URL: https://issues.apache.org/jira/browse/GROOVY-11674 > Project: Groovy > Issue Type: Bug > Reporter: Paul King > Priority: Major > > The Grails build isn't reproducible. This issue is to track changes (if > needed) on the Groovy side of things. Symptoms are that trait methods are not > added deterministically. It would appear that calls to Class#getMethods that > TraitComposer makes is not getting methods returned in a deterministic order. > The javadoc for that method explicitly states that order is not guaranteed > but the Grails build is the first large build where we have spotted this > difference. -- This message was sent by Atlassian Jira (v8.20.10#820010)