-
Notifications
You must be signed in to change notification settings - Fork 737
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
Build error: "statement has no effect" with J9CLASS_DEPTH() in java_lang_invoke_MethodHandleNatives.cpp #20170
Comments
The results of |
Another build error with GCC 13.2.0: #20171 |
The following part is never executed because openj9/runtime/jcl/common/java_lang_invoke_MethodHandleNatives.cpp Lines 1514 to 1515 in 0985ff3
It is the same for L.1626-1627. |
I opened a draft PR: #20173 |
I think that is just a bug. However, it will only affect Java 17. Earlier versions do not use OpenJDK method handles ( |
Building OpenJ9 Java 17 with GCC 13.2.0 on Ubuntu 24.04.1 generates the following error:
openj9/runtime/jcl/common/java_lang_invoke_MethodHandleNatives.cpp
Lines 1463 to 1467 in 0985ff3
openj9/runtime/jcl/common/java_lang_invoke_MethodHandleNatives.cpp
Lines 1568 to 1572 in 0985ff3
The text was updated successfully, but these errors were encountered: