[9] RFR(S): 8173373: C1: NPE is thrown instead of LinkageError when accessing inaccessible field on NULL receiver

Tobias Hartmann tobias.hartmann at oracle.com
Tue Jan 31 08:38:25 UTC 2017


Hi,

I missed that the problem also affects putfield (of course). I extended the test accordingly and added the same fix to LIRGenerator::do_StoreField():
http://cr.openjdk.java.net/~thartmann/8173373/webrev.03/

Thanks,
Tobias

On 30.01.2017 13:51, Tobias Hartmann wrote:
> Thanks, Vladimir!
> 
> Best regards,
> Tobias
> 
> On 30.01.2017 13:48, Vladimir Ivanov wrote:
>>> http://cr.openjdk.java.net/~thartmann/8173373/webrev.02/
>>
>> Looks good.
>>
>> Best regards,
>> Vladimir Ivanov


More information about the hotspot-compiler-dev mailing list