unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 051c9344eb667bbf62928b4afdda3ad2ca00520f 842 bytes (raw)
name: packages/patches/openjdk-10-module4-reproducibility.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
Danny wrote it

--- orig/jdk-6fa770f9f8ab/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/SystemModulesPlugin.java	2022-04-13 19:24:12.655749459 +0200
+++ jdk-6fa770f9f8ab/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/SystemModulesPlugin.java	2022-04-14 01:53:23.555465018 +0200
@@ -861,7 +861,8 @@
          */
         private void genModuleReads(ClassWriter cw, Configuration cf) {
             // module name -> names of modules that it reads
-            Map<String, Set<String>> map = cf.modules().stream()
+            Map<String, Set<String>> map = cf.modules().stream()
+                    .sorted(java.util.Comparator.comparing(ResolvedModule::name))
                     .collect(Collectors.toMap(
                             ResolvedModule::name,
                             m -> m.reads().stream()

debug log:

solving 051c9344eb667bbf62928b4afdda3ad2ca00520f ...
found 051c9344eb667bbf62928b4afdda3ad2ca00520f in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).