-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8343293: Remove the check for <apphome>/jre/lib/libjava.dylib from the launcher's java_md_macosx.m #21789
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
Conversation
…e launcher's java_md_macosx.m
👋 Welcome back jpai! A progress list of the required criteria for merging this PR into |
@jaikiran 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 127 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 |
Webrevs
|
/reviewers 2 reviewer |
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.
Looks fine to me, especially given the testing cited, but this is not my area so I bumped the reviewer count to 2.
@@ -429,18 +429,6 @@ static void MacOSXStartup(int argc, char *argv[]) { | |||
return JNI_TRUE; | |||
} | |||
} | |||
/* ensure storage for path + /jre + NULL */ |
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.
The corresponding changes in JDK-8329862 included adding a call to JLI_TraceLauncher.
Such as:
JLI_TraceLauncher("Attempt to get JDK installation root from launcher executable path\n");
Adding a similar trace message would be consistent across platforms.
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.
That's a good point. I've now updated the PR to add the same log message as the one present in unix/windows variant of this code.
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.
Thanks fro the extra logging.
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.
Looks fine.
Thank you Roger and Brian for the reviews. |
/integrate |
Going to push as commit 068f4ce.
Your commit was automatically rebased without conflicts. |
Can I please get a review of this change which cleans up a leftover code from the launcher's java_md_macosx.m file?
In https://bugs.openjdk.org/browse/JDK-8329862 changes were done in the launcher code to remove checks for
<apphome>/jre/lib/
when determining the JDK installation root. Those changes were done in the Unix and Windows files and the macosx one got left out, likely due to an oversight.The commit in this PR removes that leftover code. No new tests have been added and existing tier1, tier2, tier3 tests continue to pass.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/21789/head:pull/21789
$ git checkout pull/21789
Update a local copy of the PR:
$ git checkout pull/21789
$ git pull https://git.openjdk.org/jdk.git pull/21789/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 21789
View PR using the GUI difftool:
$ git pr show -t 21789
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/21789.diff
Using Webrev
Link to Webrev Comment