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

Update disabled functional/Valhalla tests #20479

Merged

Conversation

theresa-m
Copy link
Contributor

@theresa-m theresa-m commented Nov 1, 2024

This change along with #20473 enables all the disabled tests in ValueTypeTests or associates them with an issue. The change includes:

  • Commenting that testCheckCastNullRestrictedTypeOnNull will be enabled with Add value type CheckedType vm support #19764
  • Correcting the spelling of sych to synch
  • Enabling and updating testSynchMethodsOnValueTypes which was not previously associated with an issue. Since the time this tests was disabled it has become illegal to use synchronized methods that are not static. This is tested in testValueTypeHasSynchMethods. This change removes the part of testSynchMethodsOnValueTypes that attempts to verify a synchronized instance method and renames the test to testStaticSynchMethodsOnValueTypes.
  • Add a comment to disabled NullRestrictedTypeOptTests explaining that they cannot be enabled until we migrate to lw5 tests.

@theresa-m theresa-m added the project:valhalla Used to track Project Valhalla related work label Nov 1, 2024
Add CheckedType issue eclipse-openj9#19764
 comment to resolve disabled test. This test was not associated with
any issues previously.

Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
@theresa-m theresa-m changed the title Update disabled ValueTypeTests Update disabled functional/Valhalla tests Nov 1, 2024
Since the time this tests was disabled it has become illegal to use synchronized methods that are not static. This is tested in testValueTypeHasSynchMethods.
This change removes the part of testSynchMethodsOnValueTypes that attempts to verify a synchronized instance method and renames the test to testStaticSynchMethodsOnValueTypes.

Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
These tests cannot be expressed without an lw5 level javac. These
 will be enabled when tests are migrated to the src_lw5 versions
 which is related to eclipse-openj9#20268.

Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
@hangshao0
Copy link
Contributor

Jenkins test sanity.functional,extended alinuxval jdknext

1 similar comment
@hangshao0
Copy link
Contributor

Jenkins test sanity.functional,extended alinuxval jdknext

@hangshao0 hangshao0 merged commit 006bdbc into eclipse-openj9:master Nov 4, 2024
6 checks passed
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