Question on Implied readability

Ali Ebrahimi ali.ebrahimi1781 at gmail.com
Tue Nov 3 10:38:14 UTC 2015


Hi Frank,

On Tue, Nov 3, 2015 at 1:30 PM, Frank Yuan <frank.yuan at oracle.com> wrote:

>
>
>
> This would arise error as of pre-jigsaw with multiple classloaders and
> expected.
>
> I think completed related to layer. Intention of Layers is to handle such
> scenarios.
>
>
>
> Our gap may be you think com.baz should construct Object1 with the type in
> com.bar at 2, but in your code, com.baz does read com.bar at 1 according to its
> static module descriptors and your layer's configuration, and then in
> com.baz,
>

Not at all. I think com.baz should construct Object1 with the type in
com.bar at 1 <com.bar at 2>(com.baz can not read com.bar at 2 from upper layer
'layer2') and if that object passed to com.foo in layer2 as said before,
error should occur.


-- 

Best Regards,
Ali Ebrahimi


More information about the jigsaw-dev mailing list