-
Notifications
You must be signed in to change notification settings - Fork 722
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
Fix string literal conversion warnings in env #18467
Conversation
869046d
to
b3ee51e
Compare
a092fc1
to
b910686
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I notice there are references to getMethodFromName
and getMethodFromClass
in JITClientCompilationThread.cpp
that use const_cast<char *>
. Those const_cast
s can be removed now that the various getMethodFromName
and getMethodFromClass
methods' arguments have changed to const char *
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks! May I ask you to squash the two commits?
8a84dff
to
e6bffe0
Compare
Jenkins test sanity.functional,sanity.openjdk all jdk8,jdk11,jdk17,jdk21 depends eclipse-omr/omr#7186 |
e6bffe0
to
497c735
Compare
497c735
to
417102c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for the latest revision!
Jenkins test sanity.functional,sanity.openjdk all jdk8,jdk11,jdk17,jdk21 depends eclipse-omr/omr#7186 |
pLinux JDK21 build failure does not appear to be related to this change. Rerunning.
Jenkins test sanity.functional,sanity.openjdk plinux jdk21 depends eclipse-omr/omr#7186 |
Jenkins test sanity.opendjk win jdk17 depends eclipse-omr/omr#7186 |
Jenkins test sanity.opendjk win jdk17 depends eclipse-omr/omr#7186 |
417102c
to
776e080
Compare
Windows sanity.openjdk JDK 17 run failed again. It looked like it was an infrastructure problem. All other test runs were successful or failed due to known issues. The most recent change only affects z/OS builds, so rerunning the Windows sanity.openjdk JDK 17 should be sufficient. I'll try out z/OS internally. Jenkins test sanity.opendjk win jdk17 depends eclipse-omr/omr#7186 |
Fix string literal conversion warnings in runtime/compiler/env Signed-off-by: Dylan Tuttle <[email protected]>
776e080
to
121b33e
Compare
Giving the Windows testing one more try: Jenkins test sanity.opendjk win jdk17 depends eclipse-omr/omr#7186 |
Argh! Typo in my build requests. Jenkins test sanity.openjdk win jdk17 depends eclipse-omr/omr#7186 |
Jenkins test sanity.openjdk win jdk17 depends eclipse-omr/omr#7186 |
Windows sanity.openjdk JDK17 testing was successful this time. Testing internally on z/OS and a variety of other platforms showed no unexpected failures. Going ahead with merging this pull request together with eclipse-omr/omr#7186. |
Work towards fixing AIX warnings about assigning string literals to non-const char pointers by adding 'const' qualifiers to some string variables and parameters (or worst case scenario, casting to (char *)) in runtime/compiler/env.
This PR contributes to (but does not close) #14859
This PR depends on:
and must be merged in coordination with eclipse-omr/omr#7186