| Summary: | [9] JavaDocLocations should support module doc | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | UI | Assignee: | Kalyan Prasad Tatavarthi <kalyan_prasad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | noopur_gupta |
| Version: | 4.7 | ||
| Target Milestone: | BETA J9 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/103352 https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=4cbf353213edb3646ac7f750fadb500503154cee https://bugs.eclipse.org/bugs/show_bug.cgi?id=539684 |
||
| Whiteboard: | |||
| Bug Depends on: | 521256 | ||
| Bug Blocks: | |||
|
Description
Stephan Herrmann
Kalyan, please have a look. New Gerrit change created: https://git.eclipse.org/r/103352 The Gerrit patch adds a new appendModulePath() method to JavaDocLocations and the module summaries will be shown like http://download.java.net/java/jdk9/docs/api/java.base-summary.html Stephan, could you please help with a quick initial review for this patch? (In reply to Noopur Gupta from comment #4) > Stephan, could you please help with a quick initial review for this patch? I've dropped a comment in gerrit, but found the feature to be blocked by required changes in JDT/Core : bug 521256 For testing please fetch the preliminary Core fix from https://git.eclipse.org/r/103463 In my experiments I noticed that all links in Java 9 javadoc open in a browser instead of staying/opening in the hover. Can this be fixed in UI or are more fixes needed in Core? (In reply to Stephan Herrmann from comment #6) > For testing please fetch the preliminary Core fix from > https://git.eclipse.org/r/103463 > > In my experiments I noticed that all links in Java 9 javadoc open in a > browser instead of staying/opening in the hover. Can this be fixed in UI or > are more fixes needed in Core? I have updated the Gerrit Patch as per stephan's comments. I have seen that If the source is added for the Java 9, then the links in Java 9 javadoc open in hover. Else they open in the browser. This behavior is same for Java 8. If you are seeing a different behavior , please provide the steps to reproduce. One observation is that, if the Source is added for Java9, then the Module javadoc is fetched from module-info.java file for the module and not from the javadoc link. (In reply to Kalyan Prasad Tatavarthi from comment #7) > I have seen that If the source is added for the Java 9, then the links in > Java 9 javadoc open in hover. Else they open in the browser. This behavior > is same for Java 8. If you are seeing a different behavior , please provide > the steps to reproduce. > > One observation is that, if the Source is added for Java9, then the Module > javadoc is fetched from module-info.java file for the module and not from > the javadoc link. You're right, I just never noticed this difference. So all seems well with this change. Thanks. Gerrit change https://git.eclipse.org/r/103352 was merged to [BETA_JAVA9]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=4cbf353213edb3646ac7f750fadb500503154cee (In reply to Eclipse Genie from comment #9) > Gerrit change https://git.eclipse.org/r/103352 was merged to [BETA_JAVA9]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=4cbf353213edb3646ac7f750fadb500503154cee > rebased then released. Thanks, Kalyan and Stephan. |