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

Andrew Haley aph at redhat.com
Wed Nov 6 12:33:29 UTC 2019

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.

Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the hotspot-dev mailing list