-
Notifications
You must be signed in to change notification settings - Fork 252
8361748: Enforce limits on the size of an XBM image #3135
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 fferrari! 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. |
Webrevs
|
jerboaa
left a comment
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.
This looks good. Tiny nit about the copyright. Thanks!
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 JDK 17u patch updates the copyright in this file for the end year to 2025. I think we should do that here as well.
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, done: 5dd495e.
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 looks good, with just differing context and the manually applied copyright header change. In fact, would have been clean if not for JDK-8211300: "Convert C-style array declarations in JDK client code", the only change to this file in years.
Due to JDK-8373727, I think we should hold off on approving and integrating this until we know there is a fix for this regression. I don't want us to end up having to back it out of the April release.
|
|
|
@gnu-andrew: sure, let's keep it on hold, I won't apply for maintainer approval until JDK-8373727 gets fixed. |
Hi, this is an almost clean backport of openjdk/jdk17u-dev#3901.
The only differences are in context (deleted and surrounding code) due to 11u missing JDK-8211300: Convert C-style array declarations in JDK client code.
NOTE: as part of this work, I found some issues with the original patch (see JDK-8373727), so an additional backport of that fix will be needed too.
Testing
The GitHub Actions testing run (tier1 on various platforms) has passed.
In addition, the new
test/jdk/java/awt/image/XBMDecoder/XBMDecoderTest.javais passing in a local slowdebug build on Fedora Linux x64.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3135/head:pull/3135$ git checkout pull/3135Update a local copy of the PR:
$ git checkout pull/3135$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3135/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3135View PR using the GUI difftool:
$ git pr show -t 3135Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3135.diff
Using Webrev
Link to Webrev Comment