On Tue, 1 Oct 2024 13:45:56 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

>> 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

jni_util.h is used across all modules but it is located in 
`java.base/share/native/libjava` not `java.base/unix/native/libjava`. 

I think you could probably place ub.h along-side jni_util.h in that directory.

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

PR Comment: https://git.openjdk.org/jdk/pull/21184#issuecomment-2389640145

Reply via email to