From ab91f42a16f55e3f8ab3ec29a0e81c013dbeaa3982e1683b9e129446ddf91bd7 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 26 Sep 2023 16:51:00 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/groovy18?expand=0&rev=42 --- reproducible-builds.patch | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/reproducible-builds.patch b/reproducible-builds.patch index 3d34c87..6193fde 100644 --- a/reproducible-builds.patch +++ b/reproducible-builds.patch @@ -100,6 +100,42 @@ } /** +--- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java 2023-09-26 13:31:23.336209403 +0200 ++++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java 2023-09-26 18:44:07.573225992 +0200 +@@ -42,7 +42,7 @@ + import java.security.AccessController; + import java.security.PrivilegedAction; + import java.util.ArrayList; +-import java.util.HashSet; ++import java.util.TreeSet; + import java.util.Iterator; + import java.util.LinkedList; + import java.util.List; +@@ -2573,7 +2573,7 @@ + private void checkDuplicateNamedParams(AST elist, List expressionList) { + if (expressionList.isEmpty()) return; + +- Set namedArgumentNames = new HashSet(); ++ Set namedArgumentNames = new TreeSet(); + for (Object expression : expressionList) { + MapEntryExpression meExp = (MapEntryExpression) expression; + if (meExp.getKeyExpression() instanceof ConstantExpression) { +--- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/ast/ModuleNode.java 2023-09-26 13:31:23.339542759 +0200 ++++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/ast/ModuleNode.java 2023-09-26 18:45:07.250294772 +0200 +@@ -44,10 +44,10 @@ + private BlockStatement statementBlock = new BlockStatement(); + List classes = new LinkedList(); + private List methods = new ArrayList(); +- private Map imports = new HashMap(); ++ private Map imports = new TreeMap(); + private List starImports = new ArrayList(); +- private Map staticImports = new LinkedHashMap(); +- private Map staticStarImports = new LinkedHashMap(); ++ private Map staticImports = new TreeMap(); ++ private Map staticStarImports = new TreeMap(); + private CompileUnit unit; + private PackageNode packageNode; + private String description; --- groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/classgen/Verifier.java 2023-09-26 13:31:23.342876115 +0200 +++ groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/classgen/Verifier.java 2023-09-26 15:48:16.126304739 +0200 @@ -139,7 +139,7 @@