On Wed, 9 Jul 2025 14:54:48 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
>> But that would require two conditions - one for position and one for size - >> with the same logic which would look not that compact and pretty. > > but it will save a couple of nanoseconds! > > the code is ok. one question though: what are the circumstances when these > calls would return NULL? 1. Custom component that has no role assigned at all 2. Exception happens on Java side processing the request That was just two popped out - probably there are more scenarios. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1840#discussion_r2195351917