RFR: 8340801: Disable ubsan checks in some awt/2d coding

Matthias Baesken mbaesken at openjdk.org
Wed Sep 25 12:23:04 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.

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

Commit messages:
 - JDK-8340801

Changes: https://git.openjdk.org/jdk/pull/21184/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21184&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8340801
  Stats: 14 lines in 3 files changed: 14 ins; 0 del; 0 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