RFR: 8283215: [macos] Screen Magnifier: Getting java.awt.IllegalComponentStateException when menu item is selected [v3]

Alexander Zuev kizune at openjdk.java.net
Wed Mar 30 20:20:18 UTC 2022


On Tue, 29 Mar 2022 22:45:55 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Just for the readability. I could just split the assignment and definition of Point p but the result is the same.
>
> I think it is better to wrap only one method, it will be obvious where the exception can be thrown and it does not "fill the git history" of the method by all these unnecessary shifting.

Ok, reverting to only do that one call.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8008



More information about the client-libs-dev mailing list