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

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Jun 4 15:15:20 UTC 2018


Changeset: fceae121625e
Author:    lfoltan
Date:      2018-06-04 11:07 -0400
URL:       http://hg.openjdk.java.net/jdk/sandbox/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-sandbox-changes mailing list