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