Community
Participate
Working Groups
ISourceReference.getSource() is called from org.eclipse.jdt.internal.ui.infoviews.SourceView.computeInput(Object input) to get the source to be shown in Declaration view. For a BinaryModule, it always returns "/" instead of the source.
Same root cause also break JavadocView for module-info.class.
New Gerrit change created: https://git.eclipse.org/r/103261
(In reply to Eclipse Genie from comment #2) > New Gerrit change created: https://git.eclipse.org/r/103261 On top of other pending fixes, only one thing needed fixing: org.eclipse.jdt.internal.core.BinaryModule didn't use a SourceMapper for getSourceRange(). With this fix Javadoc view and Declaration view are working fine with module-info.class from JRT. Other changes in the patch: - enable tests to create a modular jar on the fly - fix a compile order issue, where "exports" was resolved before any CU declaring the desired package was touched.
Gerrit change https://git.eclipse.org/r/103261 was merged to [BETA_JAVA9]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=57cf79139dd515086d92744c56f6963d0d91fd3a
(In reply to Eclipse Genie from comment #4) > Gerrit change https://git.eclipse.org/r/103261 was merged to [BETA_JAVA9]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=57cf79139dd515086d92744c56f6963d0d91fd3a > released
*** Bug 519150 has been marked as a duplicate of this bug. ***