8330534: Update nsk/jdwp tests to use driver instead of othervm#18826
8330534: Update nsk/jdwp tests to use driver instead of othervm#18826lmesnik wants to merge 5 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back lmesnik! A progress list of the required criteria for merging this PR into |
|
@lmesnik This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
| public static void main(String[] argv) { | ||
| System.exit(run(argv, System.out) + Consts.JCK_STATUS_BASE); | ||
| public static void main (String argv[]) { | ||
| int result = run(argv,System.out); |
There was a problem hiding this comment.
| int result = run(argv,System.out); | |
| int result = run(argv, System.out); |
| */ | ||
| public static void main (String argv[]) { | ||
| System.exit(run(argv,System.out) + JCK_STATUS_BASE); | ||
| int result = run(argv,System.out); |
There was a problem hiding this comment.
| int result = run(argv,System.out); | |
| int result = run(argv, System.out); |
There was a problem hiding this comment.
Yes, this missing space is all over this fix. Need to fix this formatting.
| */ | ||
| public static void main (String argv[]) { | ||
| System.exit(run(argv,System.out) + JCK_STATUS_BASE); | ||
| int result = run(argv,System.out); |
There was a problem hiding this comment.
| int result = run(argv,System.out); | |
| int result = run(argv, System.out); |
| */ | ||
| public static void main (String argv[]) { | ||
| System.exit(run(argv,System.out) + JCK_STATUS_BASE); | ||
| int result = run(argv,System.out); |
There was a problem hiding this comment.
| int result = run(argv,System.out); | |
| int result = run(argv, System.out); |
There was a problem hiding this comment.
Thanks, I update the indentation in all places.
sspitsyn
left a comment
There was a problem hiding this comment.
This looks okay in general.
There is a missing space in half of files in method run() parameters noticed by Andrei.
Also, Chris had some concerns about converting to the driver mode.
|
There is something wrong with this diff. The original commit showed a lot of diffs to change main/othervm to driver (the main purpose of this PR), but now I don't see any of those changes and instead for the most part all I see is the very minor change to add a space in the |
|
Thanks! I've updated also 'jdi' tests by this space deletion. Reverted the changes, the PR is clean now. I'll update jdi tests separately. |
|
/integrate |
The jdwp tests use debugger and debugee. There is no goal to execute debugger part with all VM flags, they are needed to be used with debugee VM only.
The change is all tests is to don't use System.exit() and use 'driver' instead of othervm.
test/hotspot/jtreg/vmTestbase/nsk/share/jpda/DebugeeBinder.java
is updated to correctly set classpath for debugee
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/18826/head:pull/18826$ git checkout pull/18826Update a local copy of the PR:
$ git checkout pull/18826$ git pull https://git.openjdk.org/jdk.git pull/18826/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 18826View PR using the GUI difftool:
$ git pr show -t 18826Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/18826.diff
Webrev
Link to Webrev Comment