RFR: 8285342: Zero build failure with clang due to values not handled in switch

Aleksey Shipilev shade at openjdk.java.net
Thu Apr 21 10:05:25 UTC 2022


On Thu, 21 Apr 2022 09:42:36 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> May I get reviews for this trivial change?
> 
> It fixes zero build failure with clang due to values not handled in switch.
> 
> Thanks.
> Best regards,
> Jie

I think it should actually be `ShouldNotReachHere()`, and legitimate cases listed as explicit cases.

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

Changes requested by shade (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8330


More information about the hotspot-dev mailing list