Hi Frank, On Tue, Nov 3, 2015 at 1:30 PM, Frank Yuan <frank.y...@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@2, but in your code, com.baz does read com.bar@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@1 <com.bar@2>(com.baz can not read com.bar@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