apache / apache/netbeans

JavaDoc URL wrong

Open
#4,750 4 comments 1 reaction 0 assignees View on GitHub
duplicate Java JavaDoc kind:bug
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 15

### What happened

I select "Show JavaDoc" for a java.time.ZonedDateTime object when using Java 17, but NetBeans went to the wrong URL. See the two images. The first shows where NetBeans is going. The second shows the correct path.

Thanks!

This is where NetBeans goes when I select "Show JavaDoc":

![Pic1](https://user-images.githubusercontent.com/6467584/194624972-801f8406-8d8a-48a0-9f74-fd5436cb0dd7.png)

This is where it should be going:

![Pic2](https://user-images.githubusercontent.com/6467584/194625104-e5254beb-a285-4ff1-977b-533e93f8c900.png)

### How to reproduce

_No response_

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Fedora Linux

### JDK

17

### Apache NetBeans packaging

Apache NetBeans binary zip

### Anything else

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Show JavaDoc action for java.time.ZonedDateTime with JDK 17 in Apache NetBeans 15, then compare the opened URL with the correct path shown in the issue's screenshots. Done means the action opens the correct JavaDoc URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.