RFR: 8340801: Disable ubsan checks in some awt/2d coding
David Holmes
dholmes at openjdk.org
Sun Sep 29 22:19: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.
`jni_md.h` is shipped as part of every JDK distribution - this change does NOT belong in that file.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21184#issuecomment-2381630944
More information about the core-libs-dev
mailing list