RFR: 8294591: Fix cast-function-type warning in TemplateTable [v6]

Aleksey Shipilev shade at openjdk.org
Wed Nov 16 08:32:02 UTC 2022


On Tue, 15 Nov 2022 14:26:43 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> After [JDK-8294314](https://bugs.openjdk.org/browse/JDK-8294314), we would have `templateTable.cpp` excluded with cast-function-type warning. The underlying cause for it is casting functions for `ldc` bytecodes, which take `bool`-typed handlers:
>
> Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
> 
>  - Merge branch 'master' into JDK-8294591-warning-cast-function-type-templatetable
>  - Merge branch 'master' into JDK-8294591-warning-cast-function-type-templatetable
>  - Fix build failures
>  - Merge branch 'master' into JDK-8294591-warning-cast-function-type-templatetable
>  - Also disable warnings in gtests
>  - Fix

Remerged, retested. Unless there are other comments, I'll integrate this.

-------------

PR: https://git.openjdk.org/jdk/pull/10493



More information about the build-dev mailing list