user12825234
user12825234

Reputation:

AdoptOpenJDK Class Documentation

Is there a website like https://docs.oracle.com/javase/8/docs/api/java/util/List.html to see the documentation of a class or its (available) methods for AdopOpenJDK?

Upvotes: 4

Views: 1204

Answers (2)

Jérôme B
Jérôme B

Reputation: 427

The only way I found to answer this question is to use debian / ubuntu packages openjdk-11-doc

sudo apt-get install openjdk-11-doc

Then html static file will be available in this directory : /usr/share/doc/openjdk-11-doc

Upvotes: 0

Turing85
Turing85

Reputation: 20195

We can use the Javadoc published by Oracle.

Reasoning:

AdoptOpenJDK does not provide an own JDK/JVM. As stated on their website:

AdoptOpenJDK uses infrastructure, build and test scripts to produce prebuilt binaries from OpenJDK™ class libraries and a choice of either the OpenJDK HotSpot or Eclipse OpenJ9 VM.

So in essence, they build the OpenJDK. As long as a release has not yet reached its End-Of-Life, OpenJDK builds are provided by Oracle. After that, the OpenJDK is responsible for developing the OpenJDK project. Since, however, both JDKs pass the JCK-tests, they are drop-in replacements for each other. Thus, you can use the official Oracle Javadoc.

There is, as far as I know, no dedicated Javadoc-homepage for OpenJDK, although there is a corresponding issue in the AdoptOpenJDK github.

Upvotes: 3

Related Questions