RFR: 8340801: Disable ubsan checks in some awt/2d coding [v4]
Matthias Baesken
mbaesken at openjdk.org
Wed Oct 9 07:50:20 UTC 2024
> 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.
Matthias Baesken has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- Merge remote-tracking branch 'origin/master' into JDK-8340801
- move ub.h to a better location
- remove ubsan changes from jni_md.h
- JDK-8340801
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21184/files
- new: https://git.openjdk.org/jdk/pull/21184/files/cfbf904b..0ada81d1
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21184&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21184&range=02-03
Stats: 43717 lines in 740 files changed: 35146 ins; 4910 del; 3661 mod
Patch: https://git.openjdk.org/jdk/pull/21184.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21184/head:pull/21184
PR: https://git.openjdk.org/jdk/pull/21184
More information about the core-libs-dev
mailing list