<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Michael,</p>
<p>There is no `element-list` file for any version of JDK before JDK
9. Before JDK 9, the appropriate information was in the
`package-list` file. In JDK 9, with the introduction of modules,
the format of the file was updated to include modules, and because
this was an incompatible change, the file was renamed as well, to
`element-list`.</p>
<p>It is an annoying misconfiguration of `docs.oracle.com` that you
are seeing `<span style="white-space: pre-wrap">302 Moved Temporarily` instead of `404 Not Found` which would be a more semantically accurate response.</span></p>
<p><span style="white-space: pre-wrap">That leaves the question of why whatever you were doing was looking for `element-list` in JDK 8. To answer that, we need more info, to determine whether it is just a command-line error on your part, or any error in the `javadoc` tool itself. What version of JDK and javadoc are you using; what external libraries were you referencing in `-link` or `-linkoffline` options; and what source level were you using, with either the `-source` or `--release` options?</span></p>
<p><span style="white-space: pre-wrap">-- Jon
</span></p>
<p><span style="white-space: pre-wrap">
</span></p>
<p>There are two related but different issues here.</p>
<p>1. It is a misconfiguratio<br>
</p>
<div class="moz-cite-prefix">On 5/31/24 10:51 AM, Wei-Jun Wang
wrote:<br>
</div>
<blockquote type="cite" cite="mid:47A81E8E-1DFB-4CE1-A465-7FDE83F183DA@oracle.com">
<pre class="moz-quote-pre" wrap="">Adding <a class="moz-txt-link-abbreviated" href="mailto:javadoc-dev@openjdk.org">javadoc-dev@openjdk.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:javadoc-dev@openjdk.org"><mailto:javadoc-dev@openjdk.org></a>, but I heard "element-list" only came in with modules in JDK 9.
--Weijun
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On May 31, 2024, at 5:51 AM, Osipov, Michael (IN IT IN) <a class="moz-txt-link-rfc2396E" href="mailto:michael.osipov@innomotics.com"><michael.osipov@innomotics.com></a> wrote:
Guys,
can someone upload element-list for that API? Javadoc fails to link to it:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">warning: URL <a class="moz-txt-link-freetext" href="https://docs.oracle.com/javase/8/docs/jre/api/security/jgss/spec/element-list">https://docs.oracle.com/javase/8/docs/jre/api/security/jgss/spec/element-list</a> was redirected to <a class="moz-txt-link-freetext" href="https://docs.oracle.com/en/java/javase/22/">https://docs.oracle.com/en/java/javase/22/</a> -- Update the command-line options to suppress this warning
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">$ curl -I <a class="moz-txt-link-freetext" href="https://docs.oracle.com/javase/8/docs/jre/api/security/jgss/spec/element-list">https://docs.oracle.com/javase/8/docs/jre/api/security/jgss/spec/element-list</a>
HTTP/1.1 200 Connection Established
Proxy-Agent: Zscaler/6.2
HTTP/1.1 302 Moved Temporarily
Location: <a class="moz-txt-link-freetext" href="https://docs.oracle.com/en/java/javase/22/">https://docs.oracle.com/en/java/javase/22/</a>
X-Request-ID: d71cbb7eb4147b5d2d1bad7bfd1471ed
Content-Length: 1
Date: Fri, 31 May 2024 09:49:45 GMT
Connection: keep-alive
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
while package-list is available:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">$ curl <a class="moz-txt-link-freetext" href="https://docs.oracle.com/javase/8/docs/jre/api/security/jgss/spec/package-list">https://docs.oracle.com/javase/8/docs/jre/api/security/jgss/spec/package-list</a>
com.sun.security.jgss
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Regards,
Michael
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
</body>
</html>