[jdk8u-dev] RFR: 8224267: JOptionPane message string with 5000+ newlines produces StackOverflowError [v2]
Paul Hohensee
phh at openjdk.org
Fri Jun 27 15:33:41 UTC 2025
On Mon, 9 Jun 2025 06:39:02 GMT, Sergey Chernyshev <schernyshev at openjdk.org> wrote:
>> Hi all,
>>
>> These are parity backports with Oracle's 8u461, OpenJDK 8u462 is affected. The commit [46251bc6](https://github.com/openjdk/jdk/commit/46251bc6e248a19e8d78173ff8d0502c68ee1acb) didn't apply cleanly as JDK-8049870 hasn't been backported to jdk8u-dev. JDK-8290162 is basically a clean backport, the paths changed to 8u path scheme. The functional part of 5074006 applied cleanly in BasicOptionPaneUI.java. The test in TestJOptionHTMLTag.java was rewritten to get rid of dependency on PassFailJFrame (not in 8). Replaced the text block (JEP 355 style) with traditional string literals. The paths have been changed to the 8u path scheme. The test passes with the fix and fails otherwise.
>>
>> Thanks!
>
> Sergey Chernyshev has updated the pull request incrementally with two additional commits since the last revision:
>
> - Backport 91072ee3934616ab2edc4850a59c0a25fd0de3b4
> - Backport 6e18883d8ffd9a7b7d495da05e9859dc1d1a2677
Marked as reviewed by phh (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk8u-dev/pull/659#pullrequestreview-2967011875
More information about the jdk8u-dev
mailing list