RFR: 8338236: Compile error in cgroup code on Linux when using clang
Stefan Karlsson
stefank at openjdk.org
Wed Aug 14 12:54:53 UTC 2024
On Wed, 14 Aug 2024 06:36:02 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> > I wonder why it only complains about those 2 files. Aren't there more?
>
> No more were found. Probably at those 3 locations in the code we have the special case, that they are not already covered by clang/macOS because it is Linux-only code.
It's not clear to me if you noticed that this warns about the "inconsistent" usage of `override`. It doesn't warn about using `override`. Some of the overridden functions where marked with `override` but not all. You can silence this warning by either doing what you did in this PR, or by removing the previously added `override` in those classes.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20562#issuecomment-2288659469
More information about the hotspot-runtime-dev
mailing list