hg: jigsaw/jake/hotspot: 8162998: Check at module definition that a package named java is not being defined to a class loader other than the boot or platform loader

lois.foltan at oracle.com lois.foltan at oracle.com
Thu Sep 15 17:20:03 UTC 2016


Changeset: de2b914558cd
Author:    lfoltan
Date:      2016-09-15 11:25 -0400
URL:       http://hg.openjdk.java.net/jigsaw/jake/hotspot/rev/de2b914558cd

8162998: Check at module definition that a package named java is not being defined to a class loader other than the boot or platform loader
Summary: Added new prohibited package check to JVM_DefineModule and JVM_AddModulePackage
Reviewed-by: hseigel, mchung

! src/share/vm/classfile/moduleEntry.hpp
! src/share/vm/classfile/modules.cpp
! src/share/vm/oops/instanceKlass.cpp
! test/runtime/modules/JVMAddModulePackage.java
! test/runtime/modules/JVMDefineModule.java



More information about the jigsaw-dev mailing list