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

Summary: "Show documentation in external web browser" uses wrong URL for methods
Product: java Reporter: terje7601
Component: JavadocAssignee: Ralph Ruijs <ralphbenjamin>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:
Attachments: Java Platform config

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)