RFR: 8261450: JShell crashes with SIOOBE in tab completion
Vicente Romero
vromero at openjdk.java.net
Wed Mar 3 19:18:39 UTC 2021
On Wed, 3 Mar 2021 16:43:02 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> `reflowTillNow` will strip trailing spaces, but then `reflownTo` may point after the full content of `result`. Need to fix `reflownTo` to not point after the full content of `result`, otherwise a `StringIndexOutOfBoundsException` may occur.
lgtm!
-------------
Marked as reviewed by vromero (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/2812
More information about the javadoc-dev
mailing list