Makes the generated character data classes reproducible (removes a timestamp and...
authorEmmanuel Bourg <ebourg@apache.org>
Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)
committerMatthias Klose <doko@ubuntu.com>
Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)
Forwarded: no

Gbp-Pq: Name reproducible-character-data.diff

make/jdk/src/classes/build/tools/generatecharacter/GenerateCharacter.java

index 8d6a703f1c9e37209dcfd348a0fe49c3b107972c..76f32ca677ae917149f463b85c9f44dd5e010da5 100644 (file)
@@ -1810,7 +1810,7 @@ OUTER:  for (int i = 0; i < n; i += m) {
         }
         commentStart = (Csyntax ? "/*" : "//");
         commentEnd = (Csyntax ? " */" : "");
-        commandLineDescription = desc.toString().replace("\\", "\\\\");
+        commandLineDescription = desc.toString().replace("\\", "\\\\").replace(System.getProperty("user.dir").replace("make/gensrc", ""), "");
     }
 
     private static void searchBins(long[] map, int binsOccupied) throws Exception {