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

Harold David Seigel harold.seigel at oracle.com
Thu Sep 27 13:05:54 UTC 2018


Hi,

Please review this fix for JDK-8210351.  The fix lets nest mates use a 
'withfield' bytecode to write to a value type's final field.  
Previously, this caused an IllegalAccessError exception.

Open Webrev: 
http://cr.openjdk.java.net/~hseigel/lworld_8210351.withf/webrev/index.html

JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8210351

The fix was tested with Valhalla tiers 1-5 on multiple platforms.

Thanks! Harold




More information about the valhalla-dev mailing list