RFR: 8371070: RichParagraph enhancements [v9]

Kevin Rushforth kcr at openjdk.org
Mon Dec 22 23:37:10 UTC 2025


On Mon, 10 Nov 2025 20:52:47 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Did explain it in the description.  Avoid extra allocation + most of the clients have special logic for paragraphs that contain 0 segments.
>
> In theory, `List<StyledSegment> getSegments()` can be added as a convenience method which returns an unmodifiable copy.

Do you think it is worth filing a follow-on enhancement for this convenience method?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1966#discussion_r2641517431


More information about the openjfx-dev mailing list