-
Notifications
You must be signed in to change notification settings - Fork 232
8306461: ObjectInputStream::readObject() should handle negative array sizes without throwing NegativeArraySizeExceptions #4174
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
|
👋 Welcome back rm-gh-8! 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. |
|
At least one of the issues associated with this backport has a resolved CSR for a different version. As this means that this backport may also need a CSR, the |
|
/csr needed |
|
/approval request for backport of JDK-8306461: ObjectInputStream::readObject() should handle negative array sizes without throwing NegativeArraySizeExceptions. Ran the new and related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64: (All Passed) - make test TEST=test/jdk/java/io/ObjectInputStream Results are attached. |
Backporting JDK-8306461: ObjectInputStream::readObject() should handle negative array sizes without throwing NegativeArraySizeExceptions. Updates implementation to use a checked exception and adds a new test. Ran GHA Sanity Checks (passed), related ObjectInputStream tests (passed). Patch is clean.
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/4174/head:pull/4174$ git checkout pull/4174Update a local copy of the PR:
$ git checkout pull/4174$ git pull https://git.openjdk.org/jdk17u-dev.git pull/4174/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4174View PR using the GUI difftool:
$ git pr show -t 4174Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/4174.diff
Using Webrev
Link to Webrev Comment