RFR: 8151266: HotSpotResolvedJavaFieldImpl::isStable() does not work as expected
tom.rodriguez at oracle.com
Mon Mar 7 18:08:43 UTC 2016
> On Mar 5, 2016, at 3:45 AM, Doug Simon <doug.simon at oracle.com> wrote:
> Please review this small change that makes HotSpotResolvedJavaFieldImpl.isStable() return the right value for HotSpotResolvedJavaFieldImpl objects created from java.lang.reflect.Field objects. The problem was that HotSpotResolvedJavaField objects created from reflection objects didn’t get the VM internal modifier flags:
I think it would be better to rely on the existing logic in HotSpotResolvedObjectTypeImpl for finding and constructing the right HotSpotResolvedJavaFieldImpl. Then we wouldn’t need a new VM entry point.
More information about the hotspot-compiler-dev