RFR: 8340801: Disable ubsan checks in some awt/2d coding
Phil Race
prr at openjdk.org
Thu Sep 26 21:27:35 UTC 2024
On Wed, 25 Sep 2024 12:17:59 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> There is some old awt/2d coding where warnings occur when running with ubsan enabled binaries.
> However at most of these locations the coding should work (at least on our supported platform set) so the warnings can be disabled at least for now.
>
> The change adds a macro ATTRIBUTE_NO_UBSAN similar to what we already use in Hotspot coding.
This needs careful thinking about by various parties.
I am not sold on it, and the build team have indicated they do not support --enable-ubsan and my experience with that and similar options is that they are a nightmare to find a system on which they build and produce a working binary.
Until there's solid committed support by the leads of the build team I don't think we should be considering these kinds of PRs.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21184#issuecomment-2377966195
More information about the core-libs-dev
mailing list