RFR: 8346055: javax/swing/text/StyledEditorKit/4506788/bug4506788.java fails in ubuntu22.04

Tejesh R tr at openjdk.org
Fri Dec 13 05:05:36 UTC 2024


On Thu, 12 Dec 2024 02:39:07 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> javax/swing/text/StyledEditorKit/4506788/bug4506788.java fails in ubuntu22.04 seems to fail in OCI system citing "Test failed"
> suggesting caret is not at expected place after text is typed, but I could not find any CI jobs having it failed.
> Anyway simplified the test and added stability fixes which made it pass now in several OCI systems..

test/jdk/javax/swing/text/StyledEditorKit/4506788/bug4506788.java line 95:

> 93:         jep = new JEditorPane();
> 94:         String text = "abc";
> 95:         JFrame f = new JFrame("bug4506788");

`JFrame f` is not disposed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22698#discussion_r1883295811


More information about the client-libs-dev mailing list