Moving this to jigsaw-dev....

On 12/6/17 8:38 AM, Adam Farley8 wrote:
Hi All,

Currently, GenModuleInfoSource.java does not allow you to merge extra
module-info files into the primary module-info file (for a given module)
at build time.

This tool intends to augment platform-specific exports/opens/uses/provides but not requires.  It was a design choice we made that JDK modules are expected to have the same dependences for all platforms.
Put simply; I think it should have this functionality. Can committers
please review and opine?

Can you explain why you want the module dependences be different on different platform?  Is it an option to add the requires src/<module>/share/classes/module-info.java ?

The build generates the target dependences based on the requires from module-info.java.   At the moment it does not take module-info.java.extra into account AFAIU.

Mandy

Reply via email to