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

lois.foltan at oracle.com lois.foltan at oracle.com
Mon Jun 4 15:08:59 UTC 2018


Changeset: fceae121625e
Author:    lfoltan
Date:      2018-06-04 11:07 -0400
URL:       http://hg.openjdk.java.net/jdk/submit/rev/fceae121625e

8202758: SIGSEGV calling Class.forName(String,Boolean,ClassLoader) with mocked loader
Summary: Check that the unnamed module for a given ClassLoader is an instance of java.lang.Module.
Reviewed-by: alanb, acorn, coleenp, dholmes, hseigel

! src/hotspot/share/classfile/moduleEntry.cpp
+ test/hotspot/jtreg/runtime/modules/ClassLoaderNoUnnamedModule.java
+ test/hotspot/jtreg/runtime/modules/ClassLoaderNoUnnamedModuleTest.java



More information about the jdk-submit-changes mailing list