-
Notifications
You must be signed in to change notification settings - Fork 224
8294399: (ch) Refactor some methods out of sun.nio.ch.UnixFileDispatcherImpl #3631
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Shruthi <[email protected]>
👋 Welcome back shruacha1234! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
This backport pull request has now been updated with issue from the original commit. |
@AlanBateman Can you please review this PR |
Hi @shruacha1234 |
/approval 8294399 request the backport fix. The
These methods are being relocated to a new class, |
@shruacha1234 |
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 changes look fine to me. The changes that were originally UnixFileDispatcherImpl.[java/c]
align with the ones in FileDispatcherImpl.[java/c]
.
What testing have you done to validate the changes? Once that is explained and validated I'll approve.
Signed-off-by: Shruthi [email protected]
OpenJDK PR : openjdk/jdk#10434
OpenJDK bug : https://bugs.openjdk.org/browse/JDK-8294399
The original patch does not apply cleanly to JDK17u-dev, as UnixFileDispatcherImpl.java and UnixFileDispatcherImpl.c do not exist in this version.
Instead, JDK 17 uses FileDispatcherImpl.java and FileDispatcherImpl.c under the unix directory for the relevant implementation.
Therefore, the changes were applied manually to align with the JDK 17 structure.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/3631/head:pull/3631
$ git checkout pull/3631
Update a local copy of the PR:
$ git checkout pull/3631
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/3631/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3631
View PR using the GUI difftool:
$ git pr show -t 3631
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/3631.diff
Using Webrev
Link to Webrev Comment