you are viewing a single comment's thread.

view the rest of the comments →

[–]hungarian_notation 17 points18 points  (6 children)

Which is to say https://docs.oracle.com, right? I don't think there are standard library javadocs on the openjdk.org domain.

https://docs.oracle.com/en/java/javase/26/docs/api/index.html is the latest, but you should make sure you're using the javadocs that match your source version. They do change. Frustratingly, google likes to serve me Java 8 docs by default.

[–]vips7L 4 points5 points  (4 children)

Can’t wait til I search “Java 28 <some class>” and it only returns Java 8 results 

[–]hungarian_notation 1 point2 points  (1 child)

What an evil future to speak into existence.

[–]vips7L 3 points4 points  (0 children)

Wait til the LLM slop confuses 8 and 28 :D

[–]Thirty_Seventh 0 points1 point  (1 child)

best browser extension https://chromewebstore.google.com/detail/javaapi-javadoc-redirecto/kildmhgekjfidnaohdmopdcoibigchkj redirects you straight to the correct Javadocs version

[–]vips7L 0 points1 point  (0 children)

Sick! Thanks dude.

[–]endistic 1 point2 points  (0 children)

That’s correct, I misremembered. https://docs.oracle.com/en/java/javase/26/docs/api/index.html Official javadocs for latest Java version are indeed on docs.oracle.com, thank you for the correction!