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
7903440: JMH: Add automatic module names #90
base: master
Are you sure you want to change the base?
Conversation
Hi @hendrikebbers, 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 hendrikebbers" 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 |
/signed |
Thank you! Please allow for up to two weeks to process your OCA, although it is usually done within one to two business days. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
@shipilev would this change be ok for you? |
Webrevs
|
@shipilev ping :) |
Please go to https://github.com/hendrikebbers/jmh/actions -- and enable the testing workflows there? You would probably want to merge from the current master to get all the fixes in. |
I am actually on the fence with this change. Module names are the part of external API, so picking the correct name is important, as it is supposed to remain stable. This is probably okay for JMH, as we seldom change the API to begin with. I assume you wanted to capture the package names as module names? If so, why |
@shipilev totally fine with the name change. Will do it and ping you once all checks are green |
@shipilev updated |
@shipilev ping :) |
@shipilev ping :) |
Hi @shipilev can you tell me if there is a problem with the PR. Totally fine to change it and continue to work own it bit I would really like to get module names added to JMH ;) |
Apologies, I keep getting distracted. Part of me do not want to commit to a particular API, even for modules. But I guess it does no harm, and we can plausibly change the automatic module names later if found current ones unfortunate. Even though it would be the API-breaking change. |
@hendrikebbers This change now passes all automated pre-integration checks. 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 26 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. 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 (@shipilev) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
maven-jar-plugin
is used to add "Automatic-Module-Name" toMANIFEST.MF
at buildtime. This is the minimum that is needed if you want to use the lib on the module path in a project.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jmh.git pull/90/head:pull/90
$ git checkout pull/90
Update a local copy of the PR:
$ git checkout pull/90
$ git pull https://git.openjdk.org/jmh.git pull/90/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 90
View PR using the GUI difftool:
$ git pr show -t 90
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jmh/pull/90.diff
Webrev
Link to Webrev Comment