On Tue, 29 Mar 2022 21:59:41 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Well, if the parent is visible then it is all we need to get its screen >> coordinates. But i also think that surrounding the entire call in try/catch >> block would work better. Updating the fix. > > Why do you need to wrap the entire call, can this exception be thrown by some > other methods? Just for the readability. I could just split the assignment and definition of Point p but the result is the same. ------------- PR: https://git.openjdk.java.net/jdk/pull/8008