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

Add Java11 JPP tag to ConstantDynamic methods #3197

Merged
merged 1 commit into from
Oct 10, 2018

Conversation

JasonFengJ9
Copy link
Member

Add Java11 JPP tag to ConstantDynamic methods

ConstantDynamic methods are only available for Java 11

Verified manually that pConfig Java 8/9/1011/12 still compile.
Note: also noticed that there are significant code duplication between resolveConstantDynamic and resolveInvokeDynamic, leave refactoring to another PR instead.

closes: #2986

Reviewer: @DanHeidinga

Signed-off-by: Jason Feng fengj@ca.ibm.com

ConstantDynamic methods are only available for Java 11

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@pshipton
Copy link
Member

pshipton commented Oct 9, 2018

jenkins test sanity zlinux jdk11

@pshipton pshipton requested a review from DanHeidinga October 10, 2018 01:38
Copy link
Member

@DanHeidinga DanHeidinga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@DanHeidinga DanHeidinga merged commit 62af654 into eclipse-openj9:master Oct 10, 2018
@pshipton
Copy link
Member

This appears to have broken at least the jdk8 builds, #3204. I'm going to revert it while we figure it out.

@pshipton
Copy link
Member

One theory is there is something in the vm constant pool that needs to be conditional.

@JasonFengJ9
Copy link
Member Author

Looking at it.

@JasonFengJ9 JasonFengJ9 deleted the jdk11condy branch February 19, 2019 15:42
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.

j.l.i.MethodHandle.resolveConstantDynamic should not in Java 8
3 participants