Dynamic modules and bidirectional interoperation

mark.reinhold at oracle.com mark.reinhold at oracle.com
Thu Oct 6 18:36:04 UTC 2016


2016/10/6 10:17:46 -0700, david.lloyd at redhat.com:
> A quick question...
> 
> On 10/06/2016 12:07 PM, mark.reinhold at oracle.com wrote:
>>                                              ...  Cyclic relationships
>> amongst OSGi bundles and split packages across bundles can't be modeled
>> directly in module descriptors, but I suspect they can be accommodated by
>> inserting the necessary additional readability edges after the relevant
>> layers are instantiated.
> 
> Do read edges added at run time affect the subsequent linkage of classes 
> in the affected module?

Read edges added at run time only affect run-time access-control
checks.  They do not change the configuration previously computed
for the relevant layer.  Subsequent configurations resolved against
that configuration will not take the new read edge into account.

- Mark


More information about the jpms-spec-experts mailing list