This is an automated email from the ASF dual-hosted git repository.
paulk-asert pushed a change to branch GROOVY_5_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
from d5e442f85f fix grape directory name regression
new ee45d534b0 GROOVY-12156: chooseBestMethod returns candidates in
identity-hash order, making static-compilation output path-dependent
new e9b08dbff9 GROOVY-12157: Covariant bridge methods are emitted in hash
order, not the order they are found
new bea1ca1ed6 GROOVY-12159: Synthetic class-literal fields and accessors
are emitted in hash order, not the order the literals were encountered
new 1c49437ba6 GROOVY-12154: box primitive lambda param when the target
SAM param is a reference type
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../groovy/classgen/AsmClassGenerator.java | 6 +-
.../org/codehaus/groovy/classgen/Verifier.java | 10 +-
.../asm/sc/AbstractFunctionalInterfaceWriter.java | 16 ++-
.../transform/stc/StaticTypeCheckingSupport.java | 6 +-
src/test/groovy/bugs/Groovy12154.groovy | 112 +++++++++++++++++++++
.../classgen/CovariantBridgeMethodOrderTest.groovy | 69 +++++++++++++
.../SyntheticClassLiteralFieldOrderTest.groovy | 94 +++++++++++++++++
.../stc/StaticTypeCheckingSupportTest.groovy | 57 +++++++++++
8 files changed, 360 insertions(+), 10 deletions(-)
create mode 100644 src/test/groovy/bugs/Groovy12154.groovy
create mode 100644
src/test/groovy/org/codehaus/groovy/classgen/CovariantBridgeMethodOrderTest.groovy
create mode 100644
src/test/groovy/org/codehaus/groovy/classgen/SyntheticClassLiteralFieldOrderTest.groovy
create mode 100644
src/test/groovy/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupportTest.groovy