Re: Optional dependencies

2015-12-07 Thread Philippe Marschall
On 04.12.15 17:53, Stephen Colebourne wrote: I've been pondering whether -addReads is sufficient for this use case. What's not clear to me is does -addReads only work for the default (base?) layer or also any layer that is created programmatically? Cheers Philippe

Re: Annotations across modules

2015-11-16 Thread Philippe Marschall
On 12.11.15 14:50, Stephen Colebourne wrote: My understanding of annotations today is that annotations are not required at runtime. ie. if an annotation is placed into a class at compile time but the .class file for the annotation is not available on the runtime classpath. then there is no error.

Possible jrt filesystem bug

2015-11-03 Thread Philippe Marschall
Hi I have encountered something with I believe may be a bug in the jrt filesystem. The children/directory entries of /packages/com.oracle/java.xml.ws/com are /modules/java.xml.ws/com/sun /modules/java.xml.ws/com/oracle when I believe they should be: /packages/com.oracle/java.xml.ws/com/sun /pa

non-API classes displayed by jrt filesystem

2015-10-19 Thread Philippe Marschall
Hi I'm toying around with the jrt filesystem [1]. I noted that non-API classes are shown for java modules (see attachment). I assume this is because jrt currently reports all classes in a module, not just the exported ones (and these classes are not exported). Assuming this is the intended be

Re: Up to date syntax documentation?

2015-10-15 Thread Philippe Marschall
On 14.10.15 18:48, Alan Bateman wrote: On 14/10/2015 17:14, Philippe Marschall wrote: Hi I'm looking for an up to date syntax documentation for the module-info.java. Specifically I'm looking for the syntax for optional dependencies and specifying the main class. The most up to date i

Up to date syntax documentation?

2015-10-14 Thread Philippe Marschall
Hi I'm looking for an up to date syntax documentation for the module-info.java. Specifically I'm looking for the syntax for optional dependencies and specifying the main class. The most up to date information I could find was [1] but this doesn't cover optional dependencies. Googling suggests