Skip to content

Remove withfield/aconst_init from ValueTypeTests #19770

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

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

theresa-m
Copy link
Contributor

  • Remove ACONST_INIT and WITHFIELD bytecode uses from tests
  • Consolidate value and reference class generator creation methods now that both use and putfield
  • Remove wither tests. There is no equivalent behavior in the new spec.
  • Remove testWithFieldOnNonValueType, testWithFieldOnNull, testWithFieldOnNonExistentClass, testUnresolvedWithFieldUse

Related to #18316

@theresa-m theresa-m requested a review from hangshao0 June 27, 2024 20:49
@theresa-m theresa-m force-pushed the fix_18316_tests branch 3 times, most recently from c244a54 to f454a84 Compare June 27, 2024 20:51
@hangshao0
Copy link
Contributor

Jenkins test sanity,extended zlinuxval jdknext

@hangshao0
Copy link
Contributor

Jenkins test sanity,extended amac jdk21

@theresa-m
Copy link
Contributor Author

I will take a look at the extended failure.

- Remove ACONST_INIT and WITHFIELD bytecode uses from tests
- Consolidate value and reference class generator creation methods now that both use <init> and putfield
- Remove wither tests. There is no equivalent behavior in the new spec.
- Remove testWithFieldOnNonValueType, testWithFieldOnNull, testWithFieldOnNonExistentClass, testUnresolvedWithFieldUse

Signed-off-by: Theresa Mammarella <[email protected]>
@theresa-m
Copy link
Contributor Author

The tests should pass now. DDRValueTypeTest.java was using an outdated method name.

@hangshao0
Copy link
Contributor

@hangshao0
Copy link
Contributor

Jenkins test sanity,extended zlinuxval jdknext

@hangshao0 hangshao0 merged commit c795e21 into eclipse-openj9:master Jul 3, 2024
6 checks passed
@theresa-m theresa-m deleted the fix_18316_tests branch October 11, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:test project:valhalla Used to track Project Valhalla related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants