8202758: SIGSEGV calling Class.forName(String,Boolean,ClassLoader) with mocked loader

Check that the unnamed module for a given ClassLoader is an instance of java.lang.Module.

Reviewed-by: alanb, acorn, coleenp, dholmes, hseigel
3 files changed