hg: jdk/sandbox: 8079784: Unexpected IllegalAccessError when trying access InnerClasses attribute
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Thu Oct 11 14:15:21 UTC 2018
Changeset: 7a1e2d7ac55a
Author: hseigel
Date: 2018-10-11 10:11 -0400
URL: http://hg.openjdk.java.net/jdk/sandbox/rev/7a1e2d7ac55a
8079784: Unexpected IllegalAccessError when trying access InnerClasses attribute
Summary: Prevent classes in the InnerClasses attribute from being loaded unless they are actually being accessed.
Reviewed-by: dholmes, lfoltan
! src/hotspot/share/oops/instanceKlass.cpp
! src/hotspot/share/oops/instanceKlass.hpp
! src/hotspot/share/runtime/reflection.cpp
+ test/hotspot/jtreg/runtime/InnerClassesAttr/Base.java
+ test/hotspot/jtreg/runtime/InnerClassesAttr/Child.java
+ test/hotspot/jtreg/runtime/InnerClassesAttr/InnerClassesTest.jasm
More information about the jdk-sandbox-changes
mailing list