[jdk8u-dev] RFR: 8361748: Enforce limits on the size of an XBM image

Francisco Ferrari Bihurriet fferrari at openjdk.org
Wed Feb 4 15:51:14 UTC 2026


Hi, this pull request contains:

* 8a4de7e8f8523b2fd9e492bc57bac5c7c9a7e115: a clean [JDK-8361748](https://bugs.openjdk.org/browse/JDK-8361748 "Enforce limits on the size of an XBM image") backport from openjdk/jdk11u-dev at 4e9144c
* fb27ada8e6668ef915725a780d2f37c13c390be1: a clean [JDK-8373727](https://bugs.openjdk.org/browse/JDK-8373727 "New XBM images parser regression: only the first line of the bitmap array is parsed") backport from openjdk/jdk11u-dev at 99d39c924322594a7cf4940b95cd0e4a75c6fd12
* 64d624cb61c369a9d753a12b7e862e37e7855aa6: adjustments required for 8u (due to unavailable APIs and the changed test path)

#### Testing

* The new `jdk/test/java/awt/image/XBMDecoder/XBMDecoderTest.java` is passing in a local Linux x64 build
* [GHA run](https://github.com/franferrax/jdk8u-dev/actions/runs/21674111373) Linux failures in `hotspot/tier1` and `jdk/security_infra` are unrelated to this change:
    * `hotspot/test/compiler/5091921/Test7005594.java`
    * `jdk/test/security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java`

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

Commit messages:
 - Replace 11u code with equivalent 8u code
 - Backport 7f707ba8e746d859ac171d71ef8f731953a92e6a
 - Backport c71be802b530034169d17325478dba6e2f1c3238

Changes: https://git.openjdk.org/jdk8u-dev/pull/757/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=757&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361748
  Stats: 310 lines in 10 files changed: 221 ins; 29 del; 60 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/757.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/757/head:pull/757

PR: https://git.openjdk.org/jdk8u-dev/pull/757


More information about the jdk8u-dev mailing list