openjdk / panama-foreign Public
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
8277845: Clean up use if ProgrammableInvoker/UpcallHandler.USE_INTRINSICS in tests. #629
8277845: Clean up use if ProgrammableInvoker/UpcallHandler.USE_INTRINSICS in tests. #629
Conversation
|
Webrevs
|
Actually, I think now might be a good time to refactor this as well, by splitting the different upcall test types into base classes instead of using a flag to select each one, which also avoids the console log being full of SkipException stack traces. |
Changes look good. I totally agree re. refactoring upcall tests - either as part of this PR, or a separate one.
@JornVernee This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 85 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
|
I've implemented the refactor. (also double the timeout of UpcallAsync when running from TestMatrix, since it was timing out otherwise). |
- Make static field only used in the base class private. - Capitalize static field names.
Addressed in the latest commit:
|
/integrate |
Going to push as commit 1e1574c.
Your commit was automatically rebased without conflicts. |
@JornVernee Pushed as commit 1e1574c. |
This PR cleans up use of USE_INTRINSICS flags in the tests, which was removed a while ago.
I also noticed that TestMatrix.java didn't have a copyright header, so I've added one. (the diff looks a little mangled as a result). It also wasn't setting the UPCALL_TEST_TYPE flag when running TestUpcall, so I've added that flag.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/panama-foreign pull/629/head:pull/629
$ git checkout pull/629
Update a local copy of the PR:
$ git checkout pull/629
$ git pull https://git.openjdk.java.net/panama-foreign pull/629/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 629
View PR using the GUI difftool:
$ git pr show -t 629
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/panama-foreign/pull/629.diff