Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8187955

CssStyleHelper : recursion in isUserSetFont() can be avoided

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9, 10
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      This issue has been created to address a review comment from David Grieve on JDK-8090462.
      The comment in his words - "In CssStyleHelper class, isUserSetFont walks the parent chain because of the recursion. I think this can be fixed by defaulting the CacheContainer.fontProp instead of allowing it to be null."

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aghaisas Ajit Ghaisas
                Reporter:
                aghaisas Ajit Ghaisas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: