-
Notifications
You must be signed in to change notification settings - Fork 90
7904084: Unset javaOpts and jtregOpts in jtreg.sh #291
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
base: master
Are you sure you want to change the base?
Conversation
|
👋 Welcome back syan! A progress list of the required criteria for merging this PR into |
|
@sendaoYan 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 2 new commits pushed to the Please see this link for an up-to-date comparison between the source branch of this pull request and the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@sormuras) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
|
@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
/touch |
|
@sendaoYan The pull request is being re-evaluated and the inactivity timeout has been reset. |
|
@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
Did you see an error when used in combination with another or the same script? If yes, which one(s)? There's related prior-art in the script for the Another solution would be to introduce script- |
Below command shows this error:
I think
|
|
@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
Thanks for the reviews @sormuras Does this PR need second reviewer, or may I integrate this PR now. |
liach
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clearing variable before loop makes sense.
Yes. Happy to sponsor afterwards. |
|
/integrate |
|
@sendaoYan |
Hi all,
In jtreg.sh it will combine all the java options and jtreg options in the
for i in "$@"loop. SHELL use javaOpts and jtregOpts as global varable by default, this means jtreg.sh will receive the value of javaOpts and jtregOpts outside. I think this unexpected.To avoid this siutation, I think we should unset javaOpts and jtregOpts before use it.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jtreg.git pull/291/head:pull/291$ git checkout pull/291Update a local copy of the PR:
$ git checkout pull/291$ git pull https://git.openjdk.org/jtreg.git pull/291/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 291View PR using the GUI difftool:
$ git pr show -t 291Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jtreg/pull/291.diff
Using Webrev
Link to Webrev Comment