Re: Compiling with automatic modules

2017-06-06 Thread Stephan Herrmann
On 30.05.2017 23:43, Alex Buckley wrote: On 5/30/2017 2:08 PM, Jochen Theodorou wrote: On 30.05.2017 21:42, Alex Buckley wrote: On 5/26/2017 4:12 AM, Jochen Theodorou wrote: On 26.05.2017 01:04, Alex Buckley wrote: [...] The semantics of an observed JAR without module-info.class are specifie

Re: Compiling with automatic modules

2017-05-30 Thread Jochen Theodorou
ok, thanks for the answers On 30.05.2017 23:43, Alex Buckley wrote: On 5/30/2017 2:08 PM, Jochen Theodorou wrote: On 30.05.2017 21:42, Alex Buckley wrote: On 5/26/2017 4:12 AM, Jochen Theodorou wrote: On 26.05.2017 01:04, Alex Buckley wrote: [...] The semantics of an observed JAR without mod

Re: Compiling with automatic modules

2017-05-30 Thread Alex Buckley
On 5/30/2017 2:08 PM, Jochen Theodorou wrote: On 30.05.2017 21:42, Alex Buckley wrote: On 5/26/2017 4:12 AM, Jochen Theodorou wrote: On 26.05.2017 01:04, Alex Buckley wrote: [...] The semantics of an observed JAR without module-info.class are specified as part of JPMS resolution, and JLS 7.3

Re: Compiling with automatic modules

2017-05-30 Thread Jochen Theodorou
On 30.05.2017 21:42, Alex Buckley wrote: On 5/26/2017 4:12 AM, Jochen Theodorou wrote: On 26.05.2017 01:04, Alex Buckley wrote: [...] The semantics of an observed JAR without module-info.class are specified as part of JPMS resolution, and JLS 7.3 explicitly defers to that, so I believe it is

Re: Compiling with automatic modules

2017-05-30 Thread Alex Buckley
On 5/26/2017 4:12 AM, Jochen Theodorou wrote: On 26.05.2017 01:04, Alex Buckley wrote: [...] The semantics of an observed JAR without module-info.class are specified as part of JPMS resolution, and JLS 7.3 explicitly defers to that, so I believe it is clear how a compiler must behave when a modu

Re: Compiling with automatic modules

2017-05-26 Thread Jochen Theodorou
On 26.05.2017 01:04, Alex Buckley wrote: [...] The semantics of an observed JAR without module-info.class are specified as part of JPMS resolution, and JLS 7.3 explicitly defers to that, so I believe it is clear how a compiler must behave when a modular compilation unit 'requires' a module that t

Re: Compiling with automatic modules

2017-05-25 Thread Alex Buckley
On 5/23/2017 1:47 PM, Stephan Herrmann wrote: On 23.05.2017 22:30, Alex Buckley wrote: Automatic modules are not a source artifact, so their specification is found in the API portion of the JPMS spec rather than in the JLS. The JLS has traditionally not specified how a compiler interprets non-so

Re: Compiling with automatic modules

2017-05-23 Thread Stephan Herrmann
On 23.05.2017 22:30, Alex Buckley wrote: On 5/23/2017 12:54 PM, Stephan Herrmann wrote: The 2017-05-18 draft of JLS indicates that automatic modules are beyond the scope of JLS. I'm puzzled what that should mean for a compiler. At face value it seems to say that compilers need not care about aut

Re: Compiling with automatic modules

2017-05-23 Thread Alex Buckley
On 5/23/2017 12:54 PM, Stephan Herrmann wrote: The 2017-05-18 draft of JLS indicates that automatic modules are beyond the scope of JLS. I'm puzzled what that should mean for a compiler. At face value it seems to say that compilers need not care about automatic modules. Instead I'd expect JLS to

Compiling with automatic modules

2017-05-23 Thread Stephan Herrmann
The 2017-05-18 draft of JLS indicates that automatic modules are beyond the scope of JLS. I'm puzzled what that should mean for a compiler. At face value it seems to say that compilers need not care about automatic modules. Instead I'd expect JLS to state that the host system must be able to disco