RFR: 8343110: Add getChars(int, int, char[], int) to CharSequence and CharBuffer [v11]

Jaikiran Pai jpai at openjdk.org
Tue May 6 17:05:20 UTC 2025


On Tue, 6 May 2025 16:53:07 GMT, Markus KARG <duke at openjdk.org> wrote:

> so my question was only about how to perform the update.

Locally, if your remote repo that points to github.com/openjdk/jdk is named `upstream` and the local branch from which you have created this PR is named `getchars`, then you would do something like the following:


# fetch latest changes in master branch of github.com/openjdk/jdk
git fetch upstream master
# update your local workspace to your local getchars branch (if you aren't already on it)
git switch getchars
# merge the changes from upstream master branch into this local getchars branch
git merge -m "merge latest from master branch" upstream/master

If there are no merge resolution conflicts, then those command should be enough and your local `getchars` branch should now have the upstream master changes.

Once you build and test locally you can then push those changes from `getchars` branch to your forked remote repo's getchars branch (and thus automatically update this PR) using:


# while being on getchars branch locally and your forked remote is named mkarg-remote
git push mkarg-remote getchars

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21730#issuecomment-2855309443


More information about the nio-dev mailing list