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

7903440: JMH: Add automatic module names #90

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hendrikebbers
Copy link

@hendrikebbers hendrikebbers commented Dec 7, 2022

maven-jar-plugin is used to add "Automatic-Module-Name" to MANIFEST.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

  • Change must not contain extraneous whitespace
  • Change must be properly reviewed (1 review required, with at least 1 Committer)

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

@bridgekeeper bridgekeeper bot added the oca Needs verification of OCA signatory status label Dec 7, 2022
@bridgekeeper
Copy link

bridgekeeper bot commented Dec 7, 2022

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 /signed in a comment in this pull request.

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 /covered in a comment in this pull request.

@hendrikebbers
Copy link
Author

/signed

@bridgekeeper bridgekeeper bot added the oca-verify Needs verification of OCA signatory status label Dec 7, 2022
@bridgekeeper
Copy link

bridgekeeper bot commented Dec 7, 2022

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!

@hendrikebbers
Copy link
Author

@shipilev would this change be ok for you?
I will double check the state of the OCA - did this years ago ;)

@bridgekeeper bridgekeeper bot removed oca Needs verification of OCA signatory status oca-verify Needs verification of OCA signatory status labels Jan 27, 2023
@openjdk openjdk bot added the rfr Pull request is ready for review label Jan 27, 2023
@mlbridge
Copy link

mlbridge bot commented Jan 27, 2023

Webrevs

@hendrikebbers
Copy link
Author

@shipilev ping :)

@shipilev shipilev changed the title automatic module names added (added to MANIFEST at buildtime) 7903440: JMH: Add automatic module names Feb 20, 2023
@shipilev
Copy link
Member

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.

@shipilev
Copy link
Member

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 org.openjdk.jmh.core then? There is no package name like that. Can it be org.openjdk.jmh, or does it introduce split packages problem downstream?

@hendrikebbers
Copy link
Author

@shipilev totally fine with the name change. Will do it and ping you once all checks are green

@hendrikebbers
Copy link
Author

@shipilev updated

@hendrikebbers
Copy link
Author

@shipilev ping :)

@hendrikebbers
Copy link
Author

@shipilev ping :)

@hendrikebbers
Copy link
Author

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 ;)

@shipilev
Copy link
Member

shipilev commented Sep 8, 2023

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.

@openjdk
Copy link

openjdk bot commented Sep 8, 2023

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

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

7903440: JMH: Add automatic module names

Reviewed-by: shade

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 master branch:

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 /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Pull request is ready to be integrated rfr Pull request is ready for review
2 participants