RFR: 8168388: GetMousePositionTest fails with the message "Mouse position should not be null" [v3]

Alexander Zuev kizune at openjdk.java.net
Thu Oct 21 09:06:31 UTC 2021


On Thu, 21 Oct 2021 06:10:56 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> The catch block was already there and i decided not to remove it and moved the rest of the code instead of the try block.
>
> I know it was already there but since you are touching the test, it might be better to better the code to remove unneeded block, as here we are just catching exception and rethrowing, when we already have main() signature having "throws Throwable"

Ok, i removed it.

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

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



More information about the client-libs-dev mailing list