Michael,
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`.
It is an annoying misconfiguration of `docs.oracle.com` that you are
seeing `302 Moved Temporarily` instead of `404 Not Found` which would be
a more semantically accurate response.
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?
-- Jon
There are two related but different issues here.
1. It is a misconfiguratio
On 5/31/24 10:51 AM, Wei-Jun Wang wrote:
addingjavadoc-...@openjdk.org <mailto:javadoc-...@openjdk.org>, but I heard
"element-list" only came in with modules in JDK 9.
--Weijun
On May 31, 2024, at 5:51 AM, Osipov, Michael (IN IT
IN)<michael.osi...@innomotics.com> wrote:
Guys,
can someone upload element-list for that API? Javadoc fails to link to it:
warning:
URLhttps://docs.oracle.com/javase/8/docs/jre/api/security/jgss/spec/element-list
was redirected tohttps://docs.oracle.com/en/java/javase/22/ -- Update the
command-line options to suppress this warning
$ curl
-Ihttps://docs.oracle.com/javase/8/docs/jre/api/security/jgss/spec/element-list
HTTP/1.1 200 Connection Established
Proxy-Agent: Zscaler/6.2
HTTP/1.1 302 Moved Temporarily
Location:https://docs.oracle.com/en/java/javase/22/
X-Request-ID: d71cbb7eb4147b5d2d1bad7bfd1471ed
Content-Length: 1
Date: Fri, 31 May 2024 09:49:45 GMT
Connection: keep-alive
while package-list is available:
$
curlhttps://docs.oracle.com/javase/8/docs/jre/api/security/jgss/spec/package-list
com.sun.security.jgss
Regards,
Michael