Re: Does --add-exports imply --add-reads??

2018-07-10 Thread Naman Nigam
Well, this looks similar to what the increasing readability section in JEP-261 reads. As a consequence, code in the source module will be able to access types in > a package of the target module at both compile time and run time if

Does --add-exports imply --add-reads??

2018-07-10 Thread Stephan Herrmann
Hi, Given these sources: src/mod.one/module-info.java //--- module mod.one { requires transitive java.sql; } //--- src/mod.one/p/X.java //--- package p; public class X { public static java.sql.Connection getConnection() { return null; } } //--- src/mod.t