Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace nullptr with NULL in java_lang_invoke_MethodHandleNatives.cpp #20836

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

ThanHenderson
Copy link
Contributor

nullptr isn't supported on the z/OS XLC v2r1 compiler used for IBM Java 8 builds on s390x.

java_lang_invoke_MethodHandleNatives.cpp is only compiled in builds with OpenJDK MethodHandles enabled. Once OpenJDK MHs are enabled by default, the nullptrs here would cause build errors on the platform mentioned above. Probably best just to remove the nullptr uses now to conform with the supported C++ features list.

Signed-off-by: Nathan Henderson [email protected]

@babsingh
Copy link
Contributor

jenkins test sanity.functional amac jdk17

@babsingh babsingh merged commit 7c6a848 into eclipse-openj9:master Dec 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants