-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8198317: Enhance JavacTool.getTask for flexibility #2871
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
Conversation
👋 Welcome back jlahoda! A progress list of the required criteria for merging this PR into |
@lahodaj Could not parse
|
/contributor add @lgxbslgx |
@lahodaj Could not parse
|
Webrevs
|
import toolbox.TestRunner; | ||
import static toolbox.ToolBox.lineSeparator; | ||
|
||
public class T8198317 extends TestRunner{ |
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.
formatting
import toolbox.TestRunner; | ||
import static toolbox.ToolBox.lineSeparator; | ||
|
||
public class T8198317 extends TestRunner{ |
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.
These days, it is considered bad form to base a test name on a bug number. It's better to come up with a meaningful name for the test. That probably applies to the enclosing directory as well.
/contributor add Guoxiong Li lgxbslgx@gmail.com |
@lahodaj |
@lahodaj It is good for me to continue the work in this PR. I will assist you if you need. |
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.
The original patch began at Dec 2020. About four months passed. Could somebody help me push this patch? Thanks a lot.
@@ -0,0 +1,126 @@ | |||
/* | |||
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. |
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.
The copyright should be updated to 2021.
context.put(Log.errKey, new PrintWriter(System.err, true)); | ||
else | ||
else if (out instanceof PrintWriter) |
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.
Can use instance of pattern matching
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.
Looks good to me
@lahodaj 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 1763 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. ➡️ To integrate this PR with the above commit message to the |
/integrate |
@lahodaj Since your change was applied there have been 1764 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit df7f0b4. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This is a clone of #1896, which got closed by Skara.
@lgxbslgx, please let me know if you would prefer to resubmit the PR yourself.
/contributor add lgxbslgx
Progress
Issue
Reviewers
Contributors
<lgxbslgx@gmail.com>
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/2871/head:pull/2871
$ git checkout pull/2871
Update a local copy of the PR:
$ git checkout pull/2871
$ git pull https://git.openjdk.java.net/jdk pull/2871/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2871
View PR using the GUI difftool:
$ git pr show -t 2871
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/2871.diff