Skip to content

netbeans javadoc links to ancient java se javadoc #8254

@homberghp

Description

@homberghp

Apache NetBeans version

Apache NetBeans 25 release candidate

What happened

It is not a netbeans bug perse, but rather annoying.
When you lookup javadoc for say the netbeans-25 apis, following the links to some JDK apis, such as say ClassTree, you land in a Java SE 6 version of the com.sun javadoc.

Language / Project Type / NetBeans Component

javadoc

How to reproduce

look up WorkingCopy in java/java.source.base and click on e.g. Tree.
This will land you in https://docs.oracle.com/javase/6/docs/jdk/api/javac/tree/com/sun/source/tree/Tree.html?is-external=true
where https://docs.oracle.com/en/java/javase/17/docs/api/jdk.compiler/com/sun/source/tree/Tree.html would be more appropriate, since 17 is the min version for building netbeans >= 24.

Did this work correctly in an earlier version?

No / Don't know

Operating System

any, the problem lies on the server or deployment side

JDK

jdk 17

Apache NetBeans packaging

Other

Anything else

it is just an annoyance, and probably only a setting in one of the ant scripts or properties.
Other modules link to more up to date javadoc sites (such as java 8).

Are you willing to submit a pull request?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIcontinuous integration changesJavaDoc[ci] enable java/javadoc tests and build-javadoc targetbuildkind:bugBug report or fixnb-javacRun nb-javac integration tests

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions