Re: Java 9 EA 136 error

2016-09-20 Thread Jonathan Gibbons
On 09/20/2016 07:49 AM, Alan Bateman wrote: On 20/09/2016 06:43, Stephen Colebourne wrote: Just to note that the report below is mostly about the confusing error message, something which users will get if they write "wek" instead of "weak". Understood, I'm sure Jon or Jan will comment on tha

Re: Java 9 EA 136 error

2016-09-20 Thread Stephen Colebourne
On 20 September 2016 at 07:49, Alan Bateman wrote: > What does `java -version` show? I ask because "weak module myapp { }" should > compile with the EA builds. Sorry I wasn't clear. The "weak module" part compiles now. Stephen

Re: Java 9 EA 136 error

2016-09-20 Thread Alan Bateman
On 20/09/2016 06:43, Stephen Colebourne wrote: Just to note that the report below is mostly about the confusing error message, something which users will get if they write "wek" instead of "weak". Understood, I'm sure Jon or Jan will comment on that. (I've downloaded the correct build now and

Re: Java 9 EA 136 error

2016-09-20 Thread Stephen Colebourne
Just to note that the report below is mostly about the confusing error message, something which users will get if they write "wek" instead of "weak". (I've downloaded the correct build now and it has the same error message issue) thanks Stephen On 20 September 2016 at 05:58, Alan Bateman wrote:

Re: Java 9 EA 136 error

2016-09-20 Thread Alan Bateman
On 19/09/2016 22:25, Stephen Colebourne wrote: When trying to compile a module-info.java file, "weak" is rejected (I assume not implemented yet). Can you the Jigsaw EA download [1]? The regular JDK 9 downloads don't have support for the design issues that are till under discussion. -Alan [1]

Java 9 EA 136 error

2016-09-19 Thread Stephen Colebourne
When trying to compile a module-info.java file, "weak" is rejected (I assume not implemented yet). But, this is a report about the error handling, which fails to recognise that this is a module-info file, and thus outputs messages about missing class/interface/enum. Some additional processing is ne