Hi,

I heard a lot about jigsaw at Devoxx Belgium this year and got curious what is 
in the new module system for us. I downloaded ea build 146 and started to 
experiment. So far it was mostly straight forward. But now I'm struggeling to 
get open modules (and packages) to work. I tried the syntax described here:

http://cr.openjdk.java.net/~mr/jigsaw/spec/lang-vm.html

This is also what was presented in various talks at Devoxx. However when trying 
to compile the module-info file I get this error:

Compiling... src/moduleopen/module-info.java:1: error: class, interface, or 
enum expected
open module moduleopen {
^
1 error

Unfortunately I wasn't able to find any documentation on a change in syntax. I 
only found this:

http://openjdk.java.net/projects/jigsaw/doc/lang-vm.html

which seems to be a different version of the above. But I wasn't able to match 
what might be the right alternative for open here. Perhaps someone can clarify 
this and perhaps even help with some link to documentation on this.

Regards
Christian Frommeyer

-- 
Senior Software Engineer 2, PD
GetGo Germany GmbH | Alter Schlachthof 51, 76131 Karlsruhe, Germany
christian.fromme...@citrix.com
 

 
Geschäftsführer: Brian Shytle, Caoimhe C. Ní Ghiosáin, Michael DiFilippo, Sitz: 
Karlsruhe, Amtsgericht Mannheim HRB713721
 
 
This e-mail message and all documents that accompany it may contain privileged 
or confidential information, and are intended only for the use of the 
individual or entity to which addressed. Any unauthorized disclosure or 
distribution of this e-mail message is prohibited. If you have received this 
e-mail message in error, please notify me immediately. Thank you.

Reply via email to