hg: jdk/jdk: 8079784: Unexpected IllegalAccessError when trying access InnerClasses attribute

harold.seigel at oracle.com harold.seigel at oracle.com
Thu Oct 11 14:11:55 UTC 2018


Changeset: 7a1e2d7ac55a
Author:    hseigel
Date:      2018-10-11 10:11 -0400
URL:       http://hg.openjdk.java.net/jdk/jdk/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-changes mailing list