On 19/05/2017 11:41, Nicolai Parlog wrote:
:
A module depends on an internal type and is compiled successfully
thanks to --add-exports. At run time it would fail without flags and
would work with --add-exports but it also works with --add-opens.
That is correct, assuming you mean a reference to a public member of a
public type, and the module declares `requires $MODULE` to establish the
readability (this part is ignored when discussing code on the class path
because unnamed modules read all modules).
-Alan