Remove outdated comment in OutlineTextRenderer

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 26
    • Affects Version/s: 26
    • Component/s: client-libs
    • None
    • 2d
    • 26
    • b18

      Until JDK-4138921, `TextLayout` did not accept empty strings in the constructor. This limitation has been removed. However, there is a guard condition in `OutlineTextRenderer` which checks for an empty string before trying to use `TextLayout` which explicitly calls out this limitation in a code comment. We should remove the out-of-date comment but leave the check in as an optimization (see discussion in the PR comments for JDK-4138921).

            Assignee:
            Daniel Gredler
            Reporter:
            Daniel Gredler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: