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 255866 - Java Doc wrong on BrwsrCtx.execute
Summary: Java Doc wrong on BrwsrCtx.execute
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Html4j (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 255865 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-12 10:57 UTC by maxnitribitt
Modified: 2015-10-29 15:21 UTC (History)
0 users

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 maxnitribitt 2015-10-12 10:57:48 UTC
Java Doc her e is wrong:

http://bits.netbeans.org/html+java/1.2.3/net/java/html/BrwsrCtx.html#execute%28java.lang.Runnable%29


    public static void onPageLoad(String... args) throws Exception {
        // the context at the time of page initialization
        BrwsrCtx initialCtx = BrwsrCtx.findDefault(getClass());

getClass() won't work in static context
Comment 1 Jaroslav Tulach 2015-10-29 15:19:58 UTC
The fix http://hg.netbeans.org/html4j/rev/c19904646ed8 will be part of post-1.2.3 release.
Comment 2 Jaroslav Tulach 2015-10-29 15:21:44 UTC
*** Bug 255865 has been marked as a duplicate of this bug. ***