mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
48ea1a2b3b
* gnu/packages/patches/openjdk-10-char-reproducibility.patch: New file. * gnu/packages/patches/openjdk-10-classlist-reproducibility.patch: New file. * gnu/packages/patches/openjdk-10-corba-reproducibility.patch: New file. * gnu/packages/patches/openjdk-10-jar-reproducibility.patch: New file. * gnu/packages/patches/openjdk-10-jtask-reproducibility.patch: New file. * gnu/packages/patches/openjdk-10-module-reproducibility.patch: New file. * gnu/packages/patches/openjdk-10-module3-reproducibility.patch: New file. * gnu/packages/patches/openjdk-10-module4-reproducibility.patch: New file. * gnu/packages/java.scm (openjdk10)[source]: Add patches. [arguments]<#:phases>[remove-timestamping]: New phase. * gnu/local.mk (dist_patch_DATA): Add patches. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
14 lines
842 B
Diff
14 lines
842 B
Diff
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()
|