On Thu, 14 Mar 2024 09:59:43 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> test/jdk/javax/swing/JEditorPane/bug4325606.java line 100: >> >>> 98: Utilities.getRowStart(pane, pane.getCaretPosition()); >>> 99: } catch (BadLocationException blex) { >>> 100: throw new RuntimeException("Test failed."); >> >> Suggestion: >> >> throw new RuntimeException("Test failed.", blex); >> >> Preserve the original exception as it shows where the problem occurred. > > The only thing left… I consider it important. Done. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18259#discussion_r1524611456