RFR: 8369251: Opensource few tests [v2]

Andrey Turbanov aturbanov at openjdk.org
Wed Oct 15 08:53:16 UTC 2025


On Wed, 15 Oct 2025 01:33:11 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Opensourcing few tests
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Frame title

test/jdk/javax/swing/text/JTextComponent/bug4532590.java line 50:

> 48:     static final Color TEXT_BG        = Color.WHITE;
> 49:     static final Color SELECTION_FG   = Color.RED;
> 50:     static final Color SELECTION_BG   = Color.YELLOW;

Suggestion:

    static final int SELECTION_START = 5;
    static final int SELECTION_END   = 10;
    static final String TEXT         = "Typein the missing word.";

    static final Color TEXT_FG       = Color.BLACK;
    static final Color TEXT_BG       = Color.WHITE;
    static final Color SELECTION_FG  = Color.RED;
    static final Color SELECTION_BG  = Color.YELLOW;

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27760#discussion_r2431679609


More information about the client-libs-dev mailing list