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

no such field: java.lang.String.value/[B/getField for String value lookup #21180

Open
pshipton opened this issue Feb 25, 2025 · 3 comments · May be fixed by #21191
Open

no such field: java.lang.String.value/[B/getField for String value lookup #21180

pshipton opened this issue Feb 25, 2025 · 3 comments · May be fixed by #21191

Comments

@pshipton
Copy link
Member

See ibmruntimes/Semeru-Runtimes#105

It works on Semeru 11 and Hotspot, but not Semeru Java 17+.

@pshipton
Copy link
Member Author

@tajila @babsingh fyi

@tajila
Copy link
Contributor

tajila commented Feb 25, 2025

@JasonFengJ9 Please take a look

@JasonFengJ9
Copy link
Member

/* In project Valhalla fields may start at offset 0. */
(NULL != new_clazz)
#else /* defined(J9VM_OPT_VALHALLA_VALUE_TYPES) */
(0 != target)

This was due to the field offset being 0. The Valhalla change should be applied unconditionally. Will open a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants