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.
Newly refactored JavadocForBinaryImpl is only associated with a project. But if you have a binary platform with no source associations, there *is* no project for a platform module, so Javadoc association does not work. Need to reintroduce a global JFBQI, I guess. Was not caught by unit tests since it was not checking this case. (No such problem for SFBQI since when there is a source association, there is also a project which can answer the query.)
SFBQ not working for me currently, either - have a dev build where default platform is associated with the NB source tree, yet Go To Source does not work. Needs to be investigated why.
Everything was caused by forgotten registered JFBQI in META-INF/services. I will fixed it.
Fixed. Checking in src/META-INF/services/org.netbeans.spi.java.queries.JavadocForBinaryQueryImplementation; new revision: 1.3; previous revision: 1.2 Checking in src/org/netbeans/modules/apisupport/project/queries/JavadocForBinaryImpl.java; new revision: 1.2; previous revision: 1.1
Ups. I misunderstood some concepts and having more NB instances running I thought I got the solution. Now I see the problem and also that fix was ... ok, a little nonsense :) - not fixed
Created attachment 23136 [details] patch1
The path tries to find a module in an appropriate NetBeans platform and then associate a javadoc for it. Probably needs to tune a little but seems to work somehow.
The (new!) patch looks OK to me.
The old one wasn't good? :) Ok, I'll commit it.
Fixed. Checking in src/org/netbeans/modules/apisupport/project/queries/GlobalJavadocForBinaryImpl.java; initial revision: 1.1 Checking in src/org/netbeans/modules/apisupport/project/queries/JavadocForBinaryImpl.java; new revision: 1.3; previous revision: 1.2 Checking in src/META-INF/services/org.netbeans.spi.java.queries.JavadocForBinaryQueryImplementation; new revision: 1.4; previous revision: 1.3
verified