Re: Follow-up question on new proposals for #ResourceEncapsulation & #ClassFilesAsResources

2016-09-21 Thread Alan Bateman
On 21/09/2016 12:48, Martin Lehmann wrote: : But with the new module system, classes on the unnamed package are no longer allowed. The compiler rejects them with "error: unnamed package is not allowed in named modules". I am wondering what's going to happen with resources on the "unnamed path",

Follow-up question on new proposals for #ResourceEncapsulation & #ClassFilesAsResources

2016-09-21 Thread Martin Lehmann
Hi all, I have a follow-up question on the new proposal on #ResourceEncapsulation, which states: > The effective package name of a resource named by the string > `"/foo/bar/baz"`, e.g., is 'foo.bar'. The idea of using resource paths as "effective package names" definitely makes sense to me.