Why not multiple modules of the same name in a class loader?

2017-05-12 Thread David M. Lloyd
This has come up a couple times now and I'm not sure why the rule exists: why not allow multiple modules with the same name in the same class loader? As far as I can tell, there is no way to locate a module by class loader, and module namespaces are generally already well-governed by their la

Re: Why not multiple modules of the same name in a class loader?

2017-05-12 Thread Remi Forax
On May 12, 2017 8:08:38 PM GMT+02:00, "David M. Lloyd" wrote: >This has come up a couple times now and I'm not sure why the rule >exists: why not allow multiple modules with the same name in the same >class loader? module names appear in the stack traces, it will make life of people miserab

Re: Why not multiple modules of the same name in a class loader?

2017-05-12 Thread David M. Lloyd
On 05/12/2017 01:46 PM, Remi Forax wrote: On May 12, 2017 8:08:38 PM GMT+02:00, "David M. Lloyd" wrote: This has come up a couple times now and I'm not sure why the rule exists: why not allow multiple modules with the same name in the same class loader? module names appear in the stack tra

Re: Why not multiple modules of the same name in a class loader?

2017-05-12 Thread David M. Lloyd
On 05/12/2017 02:09 PM, David M. Lloyd wrote: On 05/12/2017 01:46 PM, Remi Forax wrote: On May 12, 2017 8:08:38 PM GMT+02:00, "David M. Lloyd" wrote: This has come up a couple times now and I'm not sure why the rule exists: why not allow multiple modules with the same name in the same class