-
Notifications
You must be signed in to change notification settings - Fork 208
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
8286781: Replace the deprecated/obsolete gethostbyname and inet_addr calls #2487
8286781: Replace the deprecated/obsolete gethostbyname and inet_addr calls #2487
Conversation
👋 Welcome back fitzsim! A progress list of the required criteria for merging this PR into |
@fitzsim 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 4 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the 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 (@gnu-andrew) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
This backport pull request has now been updated with issue from the original commit. |
I have not tested this on Windows yet. I did not realize testing is not configured on jdk17u-dev. I will try to at least get the pre-submit tests run on my private repo (or some other way). |
You need to manually enable tests on every new repository you fork. It's a pain and easily forgotten. |
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.
Backport is mostly clean. The changes to remove -D_WINSOCK_DEPRECATED_NO_WARNINGS
from make/autoconf/flags-cflags.m4
is absent, as JDK-8286262 is not present in 17u and it doesn't make sense to backport this kind of change. The only other difference is the nullptr
vs NULL
in some of the removed code, which again it doesn't make sense to backport to LTS releases.
|
Thank you for reviewing @gnu-andrew. I enabled Actions on my fork of the |
As regards running the tool, you may want to look at backporting JDK-8279068. Despite the title "IGV: Update to work with JDK 16 and 17", it was only added to 19 and later. I can't comment on the other Maven changes in there, but I do see the |
Good idea; I opened #2488. |
All the automated builds passed. I do not currently have access to |
/approval request This is ready, unless the maintainer considers it necessary to test IdealGraphViewer on Windows and macOS. |
I don't think it's reasonable to expect every patch submission to be tested on every possible platform. Those who want to produce builds on that platform and have the resources to do so should be regularly testing and maintaining it. Full testing this patch on every platform would also mean running the visualiser on AIX and Solaris, which aren't even tested by GHA. Where those platforms have been broken by changes in the past, those who build on them have submitted patches to fix them. I see it as a bigger issue that the visualiser doesn't even work out of the box on 17 at present and no-one has moved to fix this so far. /approve yes |
@gnu-andrew |
/integrate |
/sponsor |
Going to push as commit 4071b8c.
Your commit was automatically rebased without conflicts. |
@gnu-andrew @fitzsim Pushed as commit 4071b8c. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Thank you, @gnu-andrew. |
I propose backporting the fix for
8286781
tojdk17u
.I tested the changes on
jdk17u-dev
master
, onFedora 38
x86-64
,slowdebug
andfastdebug
configurations. The test was to runIdealGraphVisualizer
, perjdk17u-dev/src/utils/IdealGraphVisualizer/README.md
, then run, e.g.:I needed extra JVM arguments in
jdk17u-dev/src/utils/IdealGraphVisualizer/application/target/idealgraphvisualizer/bin/idealgraphvisualizer
to make the visualizer utility work on 17:Networking between the test and the utility worked fine with the backport applied.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2487/head:pull/2487
$ git checkout pull/2487
Update a local copy of the PR:
$ git checkout pull/2487
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2487/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2487
View PR using the GUI difftool:
$ git pr show -t 2487
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2487.diff
Webrev
Link to Webrev Comment