RFR: JDK-8317959: Check return values of malloc in native java.base coding [v2]

Brian Burkhalter bpb at openjdk.org
Thu Oct 12 16:49:15 UTC 2023


On Thu, 12 Oct 2023 14:16:55 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> There are a few remaining places in java.base where the return value NULL-check of malloc is missing. This should better be adjusted.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   doabort in check method in case no memory can be allocated

Marked as reviewed by bpb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/16160#pullrequestreview-1674660076


More information about the nio-dev mailing list