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

Fix jit crash in Symbol staticName #3155

Merged
merged 1 commit into from
Oct 9, 2018

Conversation

yanluo7
Copy link
Contributor

@yanluo7 yanluo7 commented Oct 4, 2018

Caller of Symbol::staticName typically assumes the underlying symbol
represents a static field. However, the condition that guards the
call currently only checks for a staic symbol, which is insufficient
as other types like Constant Dynamic. Method Handle, Method Type all
use static symbols. Use the correct check Symbol::isStaticField which
precludes the above mentioned non-static field types.

Signed-off-by: Yan Luo Yan_Luo@ca.ibm.com

Caller of Symbol::staticName typically assumes the underlying symbol
represents a static field. However, the condition that guards the
call currently only checks for a staic symbol, which is insufficient
as other types like Constant Dynamic. Method Handle, Method Type all
use static symbols. Use the correct check Symbol::isStaticField which
precludes the above mentioned non-static field types.

Signed-off-by: Yan Luo <Yan_Luo@ca.ibm.com>
@andrewcraik
Copy link
Contributor

Jenkins test sanity xlinux,win jdk8,jdk11

2 similar comments
@andrewcraik
Copy link
Contributor

Jenkins test sanity xlinux,win jdk8,jdk11

@AdamBrousseau
Copy link
Contributor

Jenkins test sanity xlinux,win jdk8,jdk11

@AdamBrousseau
Copy link
Contributor

Jenkins copyright check

@AdamBrousseau
Copy link
Contributor

Jenkins line endings check

@andrewcraik
Copy link
Contributor

Jenkins test sanity win jdk8

@andrewcraik andrewcraik merged commit 7dfd8ed into eclipse-openj9:master Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants