This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257494 - "Show documentation in external web browser" uses wrong URL for methods
Summary: "Show documentation in external web browser" uses wrong URL for methods
Status: REOPENED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 8.2
Hardware: PC Other
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-09 16:04 UTC by terje7601
Modified: 2016-01-16 22:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Java Platform config (53.57 KB, image/png)
2016-01-16 22:40 UTC, terje7601
Details

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2016-01-09 16:04:41 UTC
For the line:
System.out.println();

When you do "Show Documentation" (Ctrl+Shift+Space) on println, and then click the browser icon ("Show documentation in external web browser"), NetBeans opens the browser with the wrong URL:

https://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html#println()
instead of
https://docs.oracle.com/javase/8/docs/api/java/io/PrintStream.html#println--

Note that "Show Javadoc" (Alt+F1) does use the correct URL.
Comment 1 Jiri Prox 2016-01-16 22:15:12 UTC
Can you please provide more info?
Build number, jdk version, configuration of actual java platform?

Thanks
Comment 2 terje7601 2016-01-16 22:40:41 UTC
Created attachment 158157 [details]
Java Platform config

Product Version: NetBeans IDE 8.1 (Build 201510222201)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b18
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b18
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)