Integrated: 8312121: Fix -Wconversion warnings in tribool.hpp

Coleen Phillimore coleenp at openjdk.org
Fri Jul 28 12:12:02 UTC 2023


On Fri, 14 Jul 2023 19:47:39 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Assigning _value first, and then doing _value | 2 doesn't get -Wconversion warnings.  Also, reduced include file inclusion a little.
> Tested with tier1 on linux-x64-debug, windows-x64-debug, macos-aarch64-debug

This pull request has now been integrated.

Changeset: 47c4b992
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/47c4b992b44a5ce120aa4fe9e01279d4c52bca0a
Stats:     14 lines in 5 files changed: 8 ins; 1 del; 5 mod

8312121: Fix -Wconversion warnings in tribool.hpp

Reviewed-by: dlong, dholmes

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

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


More information about the hotspot-dev mailing list