<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br><blockquote type="cite"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">Thanks for replying.<br></span></font></blockquote><blockquote type="cite"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"> Yes, the code using antlr is for generating parser.<br></span></font></blockquote><blockquote type="cite"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"> Actually we are using apache hive and apache storm, and antlr code I said is in hive(e.g. HiveParser.g) and clojure code is in storm(e.g. config.clj).<br></span></font></blockquote><blockquote type="cite"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"> Is this kind of problem solvable?<br></span></font></blockquote><blockquote type="cite"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></font></blockquote><blockquote type="cite"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">Regards,</span></font></blockquote><div><br></div>From William Zhou</div><div><br>在 2017年7月24日,15:38,Chris Lamb <<a href="mailto:lamby@debian.org">lamby@debian.org</a>> 写道:<br><br></div><blockquote type="cite"><div><span>Hi William,</span><br><span></span><br><blockquote type="cite"><span>these code were compiled into different bytecode every time. the</span><br></blockquote><blockquote type="cite"><span>randomness are from some ordering problem for variable definitions</span><br></blockquote><blockquote type="cite"><span>or instruction sequences when i using javap to disassemble the class.</span><br></blockquote><span></span><br><span>First, is the code in question a parser generator? If so, those often</span><br><span>result in non-deterministic output as they often iterate over hashes</span><br><span>etc. in their output.</span><br><span></span><br><span>However, if it's not we have seen this in entirely "static" code:</span><br><span></span><br><span> <a href="https://tests.reproducible-builds.org/debian/issues/unstable/nondeterministic_java_bytecode_issue.html">https://tests.reproducible-builds.org/debian/issues/unstable/nondeterministic_java_bytecode_issue.html</a></span><br><span></span><br><span>… and, as the page mentions, we don't know why it happens. Can you spot</span><br><span>anything perculiar about those packages? (eg. do they all use Clojure;</span><br><span>could it be that...?)</span><br><span></span><br><span></span><br><span>Regards,</span><br><span></span><br><span>-- </span><br><span> ,''`.</span><br><span> : :' : Chris Lamb, Debian Project Leader</span><br><span> `. `'` <a href="mailto:lamby@debian.org">lamby@debian.org</a> / <a href="http://chris-lamb.co.uk">chris-lamb.co.uk</a></span><br><span> `-</span><br></div></blockquote></body></html>