Change InMemoryJavaCompiler.compile() to accept --patch-module instead of -Xmodule, and then change appropriate tests.
Reviewed-by: coleenp, gtriantafill
Add new runtime shared class visibility check to ensure shared classes from patched module are not loaded at runtime.
Reviewed-by: acorn, ccheung, hseigel, iklam, lfoltan
Allows the use of the --patch-module vm option with CDS. However, classes found in --patch-module during dump time will not be archived.
Reviewed-by: iklam, dcubed, lfoltan