We currently directly include either <cstdlib> or <stdlib.h> in various places. In some (but not most) of those places we have a work-around for an AIX issue. And we declare some functions from there deprecated to prevent normal use of them in HotSpot code.
JDK-8369186 proposes the use of wrappers for Standard Library headers. Such a wrapper for <cstdlib> would provide a single place for the work-around and for the deprecation declarations.
- is blocked by
-
JDK-8369186 HotSpot Style Guide should permit some uses of the C++ Standard Library
-
- Resolved
-
- relates to
-
JDK-8369205 AIX build break in forbiddenFunctions.hpp
-
- Open
-
-
JDK-8369486 Enforce of malloc as noexcept not compiling due to AIX stdlib bug
-
- Open
-
- links to
-
Review(master)
openjdk/jdk/28562