-
Notifications
You must be signed in to change notification settings - Fork 728
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
Make J9VMDllLoadInfo::fatalErrorStr 'const' #18080
Conversation
Could you review when you get a chance Henry @hzongaro? |
I don't think that's true. If the type of that field is changed to |
The reason I think(?) it needs to remain mutable is because I already tried making it Is there a better way I could solve this problem? I am far from a C string expert and I agree that adding all of these casts doesn't seem like an ideal solution... |
Another local can be used in I think a better solution is a single cast to |
c525392
to
c5abc44
Compare
I see what you're saying Keith @keithc-ca, I've amended this PR accordingly. Thanks for the help! |
c5abc44
to
149be2c
Compare
149be2c
to
4e7e351
Compare
I'm getting an error about the
Is there a problem with using |
You'll need to use one of the PORT_ACCESS_FROM_JAVAVM(vm); |
4e7e351
to
e9d86c6
Compare
I've added the |
e9d86c6
to
c32dd19
Compare
7b3206c
to
0870967
Compare
Continue the effort to fix AIX warnings about converting string literals to mutable char pointers by adding a 'const' qualifier to J9VMDllLoadInfo::fatalErrorStr and refactoring the code that interacts with it Signed-off-by: Dylan Tuttle <[email protected]>
0870967
to
6880068
Compare
Jenkins test sanity aix,alinux64 jdk17 |
@hzongaro Could you please add your review? |
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, @dylanjtuttle, for all your work on this pull request, and @keithc-ca, for all your thoughtful, thorough review!
Continue the effort to fix AIX warnings about converting string literals to mutable char pointers by adding a 'const' qualifier to J9VMDllLoadInfo::fatalErrorStr.
This PR contributes to (but does not close) #14859.