Add-Reads and Add-Modules manifest attributes?

Alan Bateman Alan.Bateman at oracle.com
Thu May 18 13:44:27 UTC 2017


On 18/05/2017 14:40, Andrew Guibert wrote:

>
> I was happy to see that a resolution was reached for #AddExportsInManifest,
> but why did this stop at Add-Exports and Add-Opens?  In order to cover all
> use cases (for unnamed modules), we would need two more manifest
> attributes:
>
> # Equivalent to: --add-reads=java.base=ALL-UNNAMED
> --add-reads=java.sql=ALL-UNNAMED
> Add-Reads: java.base, java.sql
>
Unnamed modules read all modules so you don't need this.

-Alan.


More information about the jigsaw-dev mailing list