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

Matthias Baesken mbaesken at openjdk.org
Fri Oct 4 09:34:17 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:

  move ub.h to a better location

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

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

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

  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 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