[aarch64-port-dev ] RFR (XS) 8233695: AArch64 build failures after -Wno-extra removal

Aleksey Shipilev shade at redhat.com
Wed Nov 6 12:46:55 UTC 2019


On 11/6/19 1:33 PM, Andrew Haley wrote:
> On 11/6/19 12:18 PM, Aleksey Shipilev wrote:
>> Bug:
>>   https://bugs.openjdk.java.net/browse/JDK-8233695
>>
>> Fix:
>>   https://cr.openjdk.java.net/~shade/8233695/webrev.01/
>>
>> This is the simplest fix I can think of in orderAccess: cast away constness. Also, trivially unused
>> parameter in templateInterpreterGenerator_aarch64.cpp. The issues is exposed in 14, but it is
>> actually there in all releases down to 8-aarch64.
> 
> It's better to use const_cast<T> here. Otherwise OK, thanks.

Right. Like this?
  https://cr.openjdk.java.net/~shade/8233695/webrev.02/

-- 
Thanks,
-Aleksey



More information about the hotspot-dev mailing list