RFR: 8353320: Open source more Swing text tests [v2]

Alexey Ivanov aivanov at openjdk.org
Thu Apr 3 11:29:52 UTC 2025


On Wed, 2 Apr 2025 19:24:19 GMT, Phil Race <prr at openjdk.org> wrote:

>> test/jdk/javax/swing/text/html/HTMLEditorKit/bug4245401.java line 61:
>> 
>>> 59:             kit.read(new StringReader(text), doc, 0);
>>> 60:         } catch (Exception e) {
>>> 61:         }
>> 
>> If an exception occurs, the test should fail; the exception shouldn't be *silently* ignored.
>
> Not something I added but I can re-throw as RTE. I verified that will cause the test to fail.

Thank you.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24365#discussion_r2026802880


More information about the client-libs-dev mailing list