Proposal: #ReflectiveAccessToNonExportedTypes: `exports dynamic`

Jochen Theodorou blackdrag at gmx.org
Thu Jun 30 22:16:49 UTC 2016



On 30.06.2016 23:58, Alex Buckley wrote:
[...]
> Counterpoint: the user's module-info.java is a great place to document
> the special relationship between one of their packages and one of their
> dependencies.
>
> module myapp {
>    requires opengamma.strata;
>
>    // Classes to drive Strata's ExtendedEnum instances
>    exports dynamic com.foo.app.constants.tickers to opengamma.strata;
> }

it would be btw interesting to have an export-all:

module myapp {
   requires org.apache.groovy-core;
   exports static * to org.apache.groovy-core;
}

bye Jochen


More information about the jpms-spec-observers mailing list