Skip to content

8258407: Split up CompileJavaModules.gmk into make/modules/$M/Java.gmk #1779

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

Closed
wants to merge 9 commits into from

Conversation

magicus
Copy link
Member

@magicus magicus commented Dec 15, 2020

Right now CompileJavaModules.gmk contains two different part: one part with the functionality needed to compile a java module, and one part were all special requirements for all modules are listed.

The second part should be removed from CompileJavaModules.gmk, and instead listed directly for each individual module in make/modules/$M/Java.gmk.

I used a special-written shell script to automatically extract the module-specific part from CompileJavaModules.gmk into the respective Java.gmk files, to avoid risking any hard-to-detect copy/paste errors. After this I did a sed -i to remove the module-specific prefix. All this makes me confident that I have correctly moved the variables (I realize this is hard to verify from the patch).


Progress

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

Issue

  • JDK-8258407: Split up CompileJavaModules.gmk into make/modules/$M/Java.gmk

Reviewers

Download

$ git fetch https://git.openjdk.java.net/jdk pull/1779/head:pull/1779
$ git checkout pull/1779

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 15, 2020

👋 Welcome back ihse! 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 openjdk bot added the rfr Pull request is ready for review label Dec 15, 2020
@openjdk
Copy link

openjdk bot commented Dec 15, 2020

@magicus The following labels will be automatically applied to this pull request:

  • 2d
  • build
  • compiler
  • core-libs
  • hotspot-jfr
  • kulla
  • net
  • serviceability

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added serviceability serviceability-dev@openjdk.org 2d client-libs-dev@openjdk.org build build-dev@openjdk.org core-libs core-libs-dev@openjdk.org net net-dev@openjdk.org compiler compiler-dev@openjdk.org kulla kulla-dev@openjdk.org hotspot-jfr hotspot-jfr-dev@openjdk.org labels Dec 15, 2020
@magicus
Copy link
Member Author

magicus commented Dec 15, 2020

/label remove 2d compiler core-libs hotspot-jfr kulla net serviceability

@openjdk openjdk bot removed 2d client-libs-dev@openjdk.org compiler compiler-dev@openjdk.org core-libs core-libs-dev@openjdk.org hotspot-jfr hotspot-jfr-dev@openjdk.org kulla kulla-dev@openjdk.org net net-dev@openjdk.org serviceability serviceability-dev@openjdk.org labels Dec 15, 2020
@openjdk
Copy link

openjdk bot commented Dec 15, 2020

@magicus
The 2d label was successfully removed.

The compiler label was successfully removed.

The core-libs label was successfully removed.

The hotspot-jfr label was successfully removed.

The kulla label was successfully removed.

The net label was successfully removed.

The serviceability label was successfully removed.

@mlbridge
Copy link

mlbridge bot commented Dec 15, 2020

Webrevs

@magicus magicus marked this pull request as draft December 15, 2020 13:49
@openjdk openjdk bot removed the rfr Pull request is ready for review label Dec 15, 2020
@magicus magicus marked this pull request as ready for review December 15, 2020 16:03
@openjdk openjdk bot added the rfr Pull request is ready for review label Dec 15, 2020
@erikj79
Copy link
Member

erikj79 commented Jan 4, 2021

Looks good to me. I assume you have run compare builds on all platforms.

@openjdk
Copy link

openjdk bot commented Jan 4, 2021

@magicus this pull request can not be integrated into master due to one or more merge conflicts. To resolve these merge conflicts and update this pull request you can run the following commands in the local repository for your personal fork:

git checkout modularize-java-part
git fetch https://git.openjdk.java.net/jdk master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push

@openjdk openjdk bot added the merge-conflict Pull request has merge conflict with target branch label Jan 4, 2021
@magicus
Copy link
Member Author

magicus commented Jan 11, 2021

@erikj79 Actually, I had not done that. But it was a great idea. Now I have, and it looks good. :-)

@openjdk
Copy link

openjdk bot commented Jan 11, 2021

@magicus 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:

8258407: Split up CompileJavaModules.gmk into make/modules/$M/Java.gmk

Reviewed-by: erikj

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.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed merge-conflict Pull request has merge conflict with target branch labels Jan 11, 2021
@magicus
Copy link
Member Author

magicus commented Jan 11, 2021

/integrate

@openjdk openjdk bot closed this Jan 11, 2021
@openjdk openjdk bot added integrated Pull request has been integrated and removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jan 11, 2021
@openjdk
Copy link

openjdk bot commented Jan 11, 2021

@magicus Pushed as commit 1bd015f.

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

@magicus magicus deleted the modularize-java-part branch January 11, 2021 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

2 participants