[8u] RFR 8173373: C1: NPE is thrown instead of LinkageError when accessing inaccessible field on NULL receiver
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Mon Apr 10 17:27:46 UTC 2017
Looks good.
Best regards,
Vladimir Ivanov
On 4/10/17 8:18 PM, Vladimir Kempik wrote:
> Hello
>
> Please review this backport of 8173373 for jdk8u.
>
> The fix applied cleanly to jdk8, except one place:
>
> in src/share/vm/c1/c1_LIR.cpp
>
> I had to change
>
> + CodeStub* deopt = new DeoptimizeStub(info,
> Deoptimization::Reason_null_check, Deoptimization::Action_none);
>
> to
>
> + CodeStub* deopt = new DeoptimizeStub(info);
>
> The fix passes jprt and testcase.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8173373
> Webrev: http://cr.openjdk.java.net/~vkempik/8173373/webrev.00/
>
> Thanks
> -Vladimir
>
More information about the hotspot-compiler-dev
mailing list