[jdk8u-dev] RFR: 8224267: JOptionPane message string with 5000+ newlines produces StackOverflowError

Sergey Chernyshev schernyshev at openjdk.org
Wed Jun 4 13:13:24 UTC 2025


Hi all,

This is a parity backport with Oracle's 8u461, OpenJDK 8u462 is affected. Please see [JDK-8224267](https://bugs.openjdk.org/browse/JDK-8224267). The commit [46251bc6](https://github.com/openjdk/jdk/commit/46251bc6e248a19e8d78173ff8d0502c68ee1acb) didn't apply cleanly as JDK-8049870 hasn't been backported to jdk8u-dev. The paths have been changed to the 8u path scheme. The test passes with the fix and fails otherwise.

Thanks!

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

Commit messages:
 - Backport 46251bc6e248a19e8d78173ff8d0502c68ee1acb

Changes: https://git.openjdk.org/jdk8u-dev/pull/659/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=659&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8224267
  Stats: 68 lines in 2 files changed: 66 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/659.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/659/head:pull/659

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


More information about the jdk8u-dev mailing list