> BasicOptionPaneUI.addMessageComponents() uses recursion to split message > strings at newlines, generating a StackOverflowError when the message string > contains an unusually large number of newlines. > Fixed by catching StackOverflow and ignoring so that application is not stuck.
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: Restrict recursion ------------- Changes: - all: https://git.openjdk.org/jdk/pull/9388/files - new: https://git.openjdk.org/jdk/pull/9388/files/9376b0ff..9d47f7d0 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=9388&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9388&range=00-01 Stats: 30 lines in 1 file changed: 7 ins; 3 del; 20 mod Patch: https://git.openjdk.org/jdk/pull/9388.diff Fetch: git fetch https://git.openjdk.org/jdk pull/9388/head:pull/9388 PR: https://git.openjdk.org/jdk/pull/9388
