RFR: 8283225: [AIX] ClassLoader.c produces incorrect OutOfMemory Exception when length is 0 [v3]

Thomas Stuefe stuefe at openjdk.java.net
Thu Mar 17 07:48:36 UTC 2022


On Thu, 17 Mar 2022 07:44:39 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Using AIX_ONLY this can be simplified:
> 
> `body = (jbyte *)malloc(length AIX_ONLY( == 0 ? 1 : length));`

This is jdk, not hotspot. Do we have AIX_ONLY in the JDK?

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

PR: https://git.openjdk.java.net/jdk/pull/7829


More information about the core-libs-dev mailing list