hg: valhalla/valhalla: 8210351: [Lworld] VM throws incorrect java.lang.IllegalAccessError on withfield operation within the same nest

harold.seigel at oracle.com harold.seigel at oracle.com
Thu Sep 27 17:02:43 UTC 2018


Changeset: fbf010b3744e
Author:    hseigel
Date:      2018-09-27 13:01 -0400
URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/fbf010b3744e

8210351: [Lworld] VM throws incorrect java.lang.IllegalAccessError on withfield operation within the same nest
Summary: Allow access if classes are nestmates.
Reviewed-by: fparain

! src/hotspot/share/interpreter/linkResolver.cpp
+ test/hotspot/jtreg/runtime/valhalla/valuetypes/WithFieldAccessorTest.java
+ test/hotspot/jtreg/runtime/valhalla/valuetypes/WithFieldNoAccessTest.jcod



More information about the valhalla-dev mailing list