> 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: Format ------------- Changes: - all: https://git.openjdk.org/jdk/pull/9388/files - new: https://git.openjdk.org/jdk/pull/9388/files/9d47f7d0..d166ed01 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=9388&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9388&range=01-02 Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 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
