From 287226249659881ccdcf15920d5f95e148a3abe0f7fcc4f2e30f948f4b4167d9 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 26 Sep 2023 14:01:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/groovy18?expand=0&rev=40 --- reproducible-builds.patch | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/reproducible-builds.patch b/reproducible-builds.patch index a26e4ec..8dfb1fd 100644 --- a/reproducible-builds.patch +++ b/reproducible-builds.patch @@ -1,3 +1,41 @@ +--- groovy-core-GROOVY_1_8_9/src/main/groovy/util/ProxyGenerator.java 2023-09-26 13:31:23.332876047 +0200 ++++ groovy-core-GROOVY_1_8_9/src/main/groovy/util/ProxyGenerator.java 2023-09-26 16:00:10.274451173 +0200 +@@ -96,7 +96,7 @@ + } + + public GroovyObject instantiateAggregateFromBaseClass(Closure cl, Class clazz) { +- Map m = new HashMap(); ++ Map m = new TreeMap(); + m.put("*", cl); + return instantiateAggregateFromBaseClass(m, clazz, null); + } +@@ -132,7 +132,7 @@ + } + + public GroovyObject instantiateAggregate(Map closureMap, List interfaces, Class clazz, Object[] constructorArgs) { +- Map map = new HashMap(); ++ Map map = new TreeMap(); + if (closureMap != null) { + map = closureMap; + } +@@ -181,7 +181,7 @@ + buffer.append(" }\n"); + + // add overwriting methods +- Map selectedMethods = new HashMap(); ++ Map selectedMethods = new TreeMap(); + List publicAndProtectedMethods = getInheritedMethods(baseClass, new ArrayList()); + boolean closureIndicator = map.containsKey("*"); + for (Method method : publicAndProtectedMethods) { +@@ -269,7 +269,7 @@ + } + + public GroovyObject instantiateDelegateWithBaseClass(Map closureMap, List interfaces, Object delegate, Class baseClass, String name) { +- Map map = new HashMap(); ++ Map map = new TreeMap(); + if (closureMap != null) { + map = closureMap; + } --- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/ant/Groovyc.java 2023-09-26 13:31:23.336209403 +0200 +++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/ant/Groovyc.java 2023-09-26 13:31:35.556291444 +0200 @@ -53,11 +53,11 @@