Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Functional area or team to which an issue belongs, much like a family [ID: 1167719]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Root cause
There is a bug in the test on line 58 where it is checking for a null return value from the child mgr's never returns null . Instead it returns an empty
matchFamily
method, but according to the docs this methodSkFontStyleSet
.Possible solution
Changing the implementation to check for emptiness instead of nullness provides the proper behavior and the loop will continue iterating until a non-empty match is found: