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.
1) It is not clear (from the ui) whether a friend module must be added at both ends - the providing module - export to and the using module - libraries. I think the answer is yes, it does. But sometimes, the library is not shown in the chooser on the using module side and I'm not sure why. So then I wondered whether it was really required or not. 2) Would it be possible to have a browse button on the export side to allow choices of a module instead of typing in the module package-like name? At least to allow a browse choice from other modules in the same suite?
re 1) yes, as you said, you have to: a) export package from (e.g.) module1 to module2 (friend), in module1 properties b) add module1 (which should be boldfaced for module1 since it offers API for it) in module2 props re 2) see issue 63527 > But sometimes, the library is not shown in I should be. If not it's a bug.
Thanks, Martin. So part 2 is covered by the other issue. This issue can remain an enhancement to make the ui clearer for 1 or to automatically handle the second side. I will file the problem of the library missing when I have a reproducible case. Note that I have seen this behavior several times, I'm just not sure when I see it and when I don't.
Deferring unless there are some concrete suggestions as to what to change.