-
Bug
-
Resolution: Duplicate
-
P3
-
25
-
None
There seem to be an (highly unlikely) indeterminism in javadoc snippet generation. I got this discrepancy once on a "cmp-baseline" build (where the JDK incl docs is built twice and then compared):
Docs Other files with binary differences...
./api/java.base/java/lang/classfile/instruction/LabelTarget.html (diff size 1665)
SHOW DIFF (first 500 lines): $WORKSPACE/build/linux-x64-cmp-baseline/compare-support/docs/./api/java.base/java/lang/classfile/instruction/LabelTarget.html.diff
--- $WORKSPACE/build/linux-x64-cmp-baseline/images/docs/./api/java.base/java/lang/classfile/instruction/LabelTarget.html 2024-12-12 11:19:38.172528307 +0000
+++ $WORKSPACE/build/compare-build/linux-x64-cmp-baseline/images/docs/./api/java.base/java/lang/classfile/instruction/LabelTarget.html 2024-12-12 11:31:23.533101564 +0000
@@ -107,7 +107,7 @@
<div class="snippet-container"><button class="copy snippet-copy" aria-label="Copy snippet" onclick="copySnippet(this)"><span data-copied="Copied!">Copy</span><img src="../../../../../resource-files/copy.svg" alt="Copy snippet"></button>
<pre class="snippet" id="snippet-java.lang.classfile.instruction.LabelTarget1"><code class="language-java">cob.<a href="../ClassFileBuilder.html#with(E)"><code>with</code></a>(lt);
-cob.<a href="#label()"><code>label</code></a><a href="../CodeBuilder.html#labelBinding(java.lang.classfile.Label)"><code>Binding</code></a>(lt.<a href="#label()"><code>label</code></a>());
+cob.<a href="../CodeBuilder.html#labelBinding(java.lang.classfile.Label)"><code>label</code></a><a href="../CodeBuilder.html#labelBinding(java.lang.classfile.Label)"><code>Binding</code></a>(lt.<a href="#label()"><code>label</code></a>());
</code></pre>
</div>
</div>
Since JDK builds are supposed to be fully reproducible, I'd appreciate that this is fixed.
Docs Other files with binary differences...
./api/java.base/java/lang/classfile/instruction/LabelTarget.html (diff size 1665)
SHOW DIFF (first 500 lines): $WORKSPACE/build/linux-x64-cmp-baseline/compare-support/docs/./api/java.base/java/lang/classfile/instruction/LabelTarget.html.diff
--- $WORKSPACE/build/linux-x64-cmp-baseline/images/docs/./api/java.base/java/lang/classfile/instruction/LabelTarget.html 2024-12-12 11:19:38.172528307 +0000
+++ $WORKSPACE/build/compare-build/linux-x64-cmp-baseline/images/docs/./api/java.base/java/lang/classfile/instruction/LabelTarget.html 2024-12-12 11:31:23.533101564 +0000
@@ -107,7 +107,7 @@
<div class="snippet-container"><button class="copy snippet-copy" aria-label="Copy snippet" onclick="copySnippet(this)"><span data-copied="Copied!">Copy</span><img src="../../../../../resource-files/copy.svg" alt="Copy snippet"></button>
<pre class="snippet" id="snippet-java.lang.classfile.instruction.LabelTarget1"><code class="language-java">cob.<a href="../ClassFileBuilder.html#with(E)"><code>with</code></a>(lt);
-cob.<a href="#label()"><code>label</code></a><a href="../CodeBuilder.html#labelBinding(java.lang.classfile.Label)"><code>Binding</code></a>(lt.<a href="#label()"><code>label</code></a>());
+cob.<a href="../CodeBuilder.html#labelBinding(java.lang.classfile.Label)"><code>label</code></a><a href="../CodeBuilder.html#labelBinding(java.lang.classfile.Label)"><code>Binding</code></a>(lt.<a href="#label()"><code>label</code></a>());
</code></pre>
</div>
</div>
Since JDK builds are supposed to be fully reproducible, I'd appreciate that this is fixed.
- duplicates
-
JDK-8346128 Comparison build fails due to difference in LabelTarget.html
-
- Resolved
-