From 414977d95f0908c4a2ab679c6e2b19ac88ff9d4a16284f403314741b9c8eef40 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 26 Sep 2023 20:59:26 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/groovy18?expand=0&rev=51 --- groovy18-reproducible-bytecode.patch | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/groovy18-reproducible-bytecode.patch b/groovy18-reproducible-bytecode.patch index f6d5de9..8a016de 100644 --- a/groovy18-reproducible-bytecode.patch +++ b/groovy18-reproducible-bytecode.patch @@ -77,7 +77,7 @@ MapEntryExpression meExp = (MapEntryExpression) expression; if (meExp.getKeyExpression() instanceof ConstantExpression) { --- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/ast/ClassNode.java 2023-09-26 13:31:23.339542759 +0200 -+++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/ast/ClassNode.java 2023-09-26 19:47:32.055269643 +0200 ++++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/ast/ClassNode.java 2023-09-26 22:58:08.701195570 +0200 @@ -406,7 +406,7 @@ } @@ -247,6 +247,25 @@ // ret contains the type specs, what we now need is the type spec for the // current class. To get that we first apply the type parameters to the // current class and then use the type names of the current class to reset +--- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/runtime/ClassExtender.java 2023-09-26 13:31:23.352876182 +0200 ++++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/runtime/ClassExtender.java 2023-09-26 22:52:18.192281834 +0200 +@@ -17,7 +17,7 @@ + + import groovy.lang.Closure; + +-import java.util.HashMap; ++import java.util.LinkedHashMap; + import java.util.Map; + + +@@ -82,6 +82,6 @@ + } + + protected Map createMap() { +- return new HashMap(); ++ return new LinkedHashMap(); + } + } --- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/javac/JavaStubGenerator.java 2023-09-26 13:31:23.359542893 +0200 +++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/tools/javac/JavaStubGenerator.java 2023-09-26 22:43:10.372033609 +0200 @@ -41,7 +41,7 @@