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

7903129: jextract does not handle @argfile #4

Closed
wants to merge 3 commits into from

Conversation

sundararajana
Copy link
Member

@sundararajana sundararajana commented Mar 24, 2022

Missed CommandLine.parse call in JextractTool.run method.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Issue

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jextract pull/4/head:pull/4
$ git checkout pull/4

Update a local copy of the PR:
$ git checkout pull/4
$ git pull https://git.openjdk.java.net/jextract pull/4/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 4

View PR using the GUI difftool:
$ git pr show -t 4

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jextract/pull/4.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Mar 24, 2022

👋 Welcome back sundar! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Mar 24, 2022

@sundararajana This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

7903129: jextract does not handle @argfile

Reviewed-by: mcimadamore

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 no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

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 (@mcimadamore) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Mar 24, 2022
@mlbridge
Copy link

mlbridge bot commented Mar 24, 2022

Webrevs

@@ -22,6 +22,7 @@
#

# error message
argfile.read.error=reading @argfile failed: {0}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the error only occur because of arg file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. CommandLine.parse

 * @throws IOException if there is a problem reading any of the @files

Copy link
Contributor

@mcimadamore mcimadamore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - we should probably add a test for this, using tool provider

@sundararajana
Copy link
Member Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Mar 25, 2022
@openjdk
Copy link

openjdk bot commented Mar 25, 2022

@sundararajana
Your change (at version 950cb6b) is now ready to be sponsored by a Committer.

@mcimadamore
Copy link
Contributor

/integrate

@mcimadamore
Copy link
Contributor

/sponsor

@openjdk
Copy link

openjdk bot commented Mar 25, 2022

@mcimadamore Only the author (@sundararajana) is allowed to issue the integrate command. As this pull request is ready to be sponsored, and you are an eligible sponsor, did you mean to issue the /sponsor command?

@openjdk
Copy link

openjdk bot commented Mar 25, 2022

Going to push as commit 60978d2.

@openjdk openjdk bot added the integrated Pull request has been integrated label Mar 25, 2022
@openjdk openjdk bot closed this Mar 25, 2022
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Mar 25, 2022
@openjdk
Copy link

openjdk bot commented Mar 25, 2022

@mcimadamore @sundararajana Pushed as commit 60978d2.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@openjdk openjdk bot removed the sponsor Pull request is ready to be sponsored label Mar 25, 2022
@mlbridge
Copy link

mlbridge bot commented Mar 25, 2022

Mailing list message from Sundararajan Athijegannathan on jextract-dev:

Hi,

Fix has been integrated.

Please check @argfile support.

Thanks for reporting this issue,
-Sundar
________________________________
From: jextract-dev <jextract-dev-retn at openjdk.java.net> on behalf of Athijegannathan Sundararajan <sundar at openjdk.java.net>
Sent: 25 March 2022 16:16
To: jextract-dev at openjdk.java.net <jextract-dev at openjdk.java.net>
Subject: Integrated: 7903129: jextract does not handle @argfile

On Thu, 24 Mar 2022 16:59:40 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

Missed CommandLine.parse call in JextractTool.run method.

This pull request has now been integrated.

Changeset: 60978d2
Author: Athijegannathan Sundararajan <sundar at openjdk.org>
Committer: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL: https://git.openjdk.java.net/jextract/commit/60978d2fa669faca0249df120dc4a55d15cdff97
Stats: 36 lines in 4 files changed: 36 ins; 0 del; 0 mod

7903129: jextract does not handle @argfile

Reviewed-by: mcimadamore

-------------

PR: https://git.openjdk.java.net/jextract/pull/4

@sundararajana sundararajana deleted the CODETOOLS-7903129 branch March 25, 2022 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated
2 participants