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
8295554: Move the "sizecalc.h" to the correct location #10757
Conversation
👋 Welcome back serb! A progress list of the required criteria for merging this PR into |
@@ -45,7 +45,6 @@ endif | |||
|
|||
LAUNCHER_SRC := $(TOPDIR)/src/java.base/share/native/launcher | |||
LAUNCHER_CFLAGS += -I$(TOPDIR)/src/java.base/share/native/launcher \ | |||
-I$(TOPDIR)/src/java.desktop/share/native/include \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line was added recently, not sure why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm .. IIRC Alex Zuev said there is a (closed) native test and adding this was the only way he could make that test work ..
Now clearly this location no longer makes sense when the file is moved, but someone will need to do something about the test. It needs Alex to chime in here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Superficially, it looks like the closed test has a direct pointer to where to get this which would need to be re-adjusted
but now I really do need Alex to explain why the above include dir was needed .. since it isn't for the closed test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Superficially, it looks like the closed test has a direct pointer to where to get this which would need to be re-adjusted
The test has direct link to the include yet i had to add this line so jtreg could find it in the build phase. The fact that it will lead to publishing of this include was not an intentional consequence and it needs to be changed, probably the test should be adjusted later if it will start failing on certain platforms.
@mrserb 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:
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 57 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. ➡️ To integrate this PR with the above commit message to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please refrain from integrating this while I investigate while this was originally moved?
sure. |
It was moved because it was designed for use by AWT and SOMEHOW during all the reshuffle for the modular JDK in JDK 9 it ended up in base, which doesn't use it and doesn't want it - it belongs in the desktop module. |
I guess that explains why I was so confused when I found this in java.base and thought it was a codebase wide utility, except that I couldn't find it being used anywhere else other than java.desktop :P |
I suggest to disable that test, if it builds during the jdk build as part of test bundle it may cause the whole jdk build to fail in mach5. |
@aivanov-jdk has prepared a patch which will be pushed to fix this up but I agree the timing needs to be perfect to be safe here .. if you can't co-ordinate a time with him then he would need to disable it now and re-enable it later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for waiting while we sorted out the details. This looks good to push. However, as prrace says, we have a corresponding closed part that needs to go in at the same time. One way to solve this is that you give the /integrate defer
PR command. Then any jdk committer can actually integrate the PR later, and make sure it is coordinated with our closed counterpart.
/integrate defer |
@mrserb Integration of this pull request has been deferred and may be completed by any project committer using the /integrate pull request command. |
/integrate |
Going to push as commit 6673cd8.
Your commit was automatically rebased without conflicts. |
@aivanov-jdk Pushed as commit 6673cd8. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
The "sizecalc.h" file is moved out from java.desktop/share/native/include, the files in that folder appear in the jdk bundle after installation like the "jawt.h".
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/10757/head:pull/10757
$ git checkout pull/10757
Update a local copy of the PR:
$ git checkout pull/10757
$ git pull https://git.openjdk.org/jdk pull/10757/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 10757
View PR using the GUI difftool:
$ git pr show -t 10757
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/10757.diff