On Mon, 3 Aug 2026 19:24:18 GMT, Phil Race <[email protected]> wrote: >> Unfortunately we have quite a few code locations where we miss the >> NULL-check of the return value >> >> https://github.com/openjdk/jdk/blob/81c9ea0682c54beb82f6259104f266bbc57c2fd6/src/java.desktop/windows/native/libawt/windows/awt_DnDDS.cpp#L916 >> >> https://github.com/openjdk/jdk/blob/81c9ea0682c54beb82f6259104f266bbc57c2fd6/src/java.desktop/windows/native/libawt/windows/awt_Clipboard.cpp#L247 >> >> https://github.com/openjdk/jdk/blob/81c9ea0682c54beb82f6259104f266bbc57c2fd6/src/java.desktop/windows/native/libawt/windows/awt_DataTransferer.cpp#L272 >> >> Should those be addressed to (maybe in another PR?) or is it just extremely >> unlikely that the call fails? > > I would not address them in this PR. They can be addressed in a single > separate PR.
Fine with me! I created https://bugs.openjdk.org/browse/JDK-8389674 for this. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32151#discussion_r3710438487
