Bugzilla – Bug 1187652
json-lib binaries vary from build time
Last modified: 2021-06-23 11:58:25 UTC
While working on reproducible builds for openSUSE, I found that out json-lib package varied across builds /usr/share/java/net/sf/json/groovy/GJson.class differs at offset '300' --- old /usr/share/java/json-lib.jar/net/sf/json/groovy/GJson.class (hex) +++ new /usr/share/java/json-lib.jar/net/sf/json/groovy/GJson.class (hex) @@ -1,7 +1,7 @@ 00000100 70 01 00 01 4a 01 00 29 5f 5f 74 69 6d 65 53 74 |p...J..)__timeSt| 00000110 61 6d 70 5f 5f 32 33 39 5f 6e 65 76 65 72 48 61 |amp__239_neverHa| -00000120 70 70 65 6e 31 35 37 33 38 33 30 33 39 34 39 33 |ppen157383039493| -00000130 37 01 00 06 3c 69 6e 69 74 3e 01 00 03 28 29 56 |7...<init>...()V| +00000120 70 70 65 6e 31 35 37 33 38 33 30 34 37 35 39 36 |ppen157383047596| +00000130 39 01 00 06 3c 69 6e 69 74 3e 01 00 03 28 29 56 |9...<init>...()V| The long numbers are milliseconds since 1970-01-01 maybe from jquery/jquery-3.5.1.js: this.timeStamp = src && src.timeStamp || Date.now() or https://github.com/frangarcia/grails-export-1/blob/master/src/groovy/de/andreasschmitt/export/exporter/ExporterUtil.groovy#L72 groovy-core-GROOVY_1_8_9/src/main/org/codehaus/groovy/classgen/Verifier.java