Normalize path output for --dump-includes#307
Conversation
|
Hi @xpple, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user xpple" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
|
❗ This change is not yet ready to be integrated. |

This PR normalizes the path output for
--dump-includes.--dump-includesmay not be normalized. For example, the output could be:grepto filter based on known paths to header files.normalize()call inIncludeHelper.java.I didn't test the PR locally using jtreg, but the tests on GitHub Actions ran successfully. I did also confirm that the new output correctly normalizes each path:
Progress
Errors
- [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jextract.git pull/307/head:pull/307$ git checkout pull/307Update a local copy of the PR:
$ git checkout pull/307$ git pull https://git.openjdk.org/jextract.git pull/307/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 307View PR using the GUI difftool:
$ git pr show -t 307Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jextract/pull/307.diff