On Wed, 18 Nov 2026 09:21:48 GMT, Matthias Baesken <[email protected]> wrote:
> In the review of [JDK-8392568](https://bugs.openjdk.org/browse/JDK-8392568) > we following was suggested : > 'I suggest to delete both macros, which add little value as it stands, even > for the used one, and replace it with directly calling malloc and doing error > handling all without the macro.' > > See > https://github.com/openjdk/jdk/blob/5f622fc327feeb329355f47b9e862c4bc4a01efc/src/java.desktop/share/native/libawt/java2d/loops/ProcessPath.c#L1734 > > So I replaced the 2 macros and added NULL - checks. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 203378f6 Author: Matthias Baesken <[email protected]> URL: https://git.openjdk.org/jdk/commit/203378f623b4d683eaf44d4ad2fd0d91a42fc556 Stats: 19 lines in 1 file changed: 6 ins; 11 del; 2 mod 8397507: ProcessPath.c replace ALLOC und REALLOC macros Reviewed-by: prr, lucy ------------- PR: https://git.openjdk.org/jdk/pull/33943
