Makes the generated character data classes reproducible (removes a timestamp and...
authorEmmanuel Bourg <ebourg@apache.org>
Wed, 20 Jul 2022 16:04:41 +0000 (17:04 +0100)
committerMatthias Klose <doko@ubuntu.com>
Wed, 20 Jul 2022 16:04:41 +0000 (17:04 +0100)
Forwarded: no

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

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

index ad690048e5530d83854faa71544771e7a1551bfa..5f943090f3d9158f66d3ea31b31daa2dfa23bf55 100644 (file)
@@ -1729,7 +1729,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 {