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 208756 - Displaying Javadoc makes HTTP connections for JDK classes
Summary: Displaying Javadoc makes HTTP connections for JDK classes
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE, USABILITY
Depends on:
Blocks:
 
Reported: 2012-02-22 14:33 UTC by Tomas Mysik
Modified: 2012-02-24 09:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2012-02-22 14:33:08 UTC
Displaying Javadoc makes HTTP connections for JDK classes even if it has bundled sources. Moreover, the results of these HTTP connections are not cached at all so the same Javadoc is fetched every time again and again.

Sample:
public static void main(String[] args) {
    JTable table = new JTable();
    table.| // <- invoke CC here and wait for Javadoc
}

Filing as P2 since the IDE usability is _horrible_ - one needs to wait for every Javadoc to be fetched and displayed (about 30 seconds in my case).

Thanks.

Product Version: NetBeans IDE Dev (Build 20120222-0b84972112c3)
Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01
System: Linux version 3.2.5 running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Tomas Mysik 2012-02-22 14:36:04 UTC
BTW the only work around is to remove the Javadoc URL from Platforms and restart the IDE (it does not work without the restart).
Comment 2 Tomas Zezula 2012-02-22 14:38:46 UTC
Don't complain there were times when even restart did not help, the HTTP Javadoc was automatically readded again. ;-)
Comment 3 Tomas Zezula 2012-02-22 14:54:57 UTC
Fixed jet-main 674776e5b6bd
Comment 4 Quality Engineering 2012-02-24 09:29:54 UTC
Integrated into 'main-golden', will be available in build *201202240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/674776e5b6bd
User: Tomas Zezula <tzezula@netbeans.org>
Log: #208756:Displaying Javadoc makes HTTP connections for JDK classes