RFR: 8151266: HotSpotResolvedJavaFieldImpl::isStable() does not work as expected
Christian Thalinger
christian.thalinger at oracle.com
Mon Mar 7 18:13:58 UTC 2016
> On Mar 5, 2016, at 1: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:
>
> http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/file/0adf6c8c7223/src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMetaAccessProvider.java#l117
>
>
> https://bugs.openjdk.java.net/browse/JDK-8151266
There is a test attached to the bug. We should add it.
> http://cr.openjdk.java.net/~dnsimon/8151266/
>
> -Doug
More information about the hotspot-compiler-dev
mailing list