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

Matthias Baesken mbaesken at openjdk.org
Tue Oct 1 13:45:56 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 incrementally with one additional commit since the last revision:

  remove ubsan changes from jni_md.h

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21184/files
  - new: https://git.openjdk.org/jdk/pull/21184/files/a2f89ecf..fb17d1bc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21184&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21184&range=00-01

  Stats: 57 lines in 4 files changed: 44 ins; 13 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 client-libs-dev mailing list