RFR: 8289388: Fix warnings: method is overriding a synchronized method without being synchronized

Kevin Rushforth kcr at openjdk.org
Mon Jul 25 19:01:11 UTC 2022


On Fri, 8 Jul 2022 19:00:25 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Fixes warnings generated by the latest Eclipse: 
> method is overriding a synchronized method without being synchronized

I also agree with Nir's statement that it isn't necessarily the case that an overridden synchronized method must also be synchronized (unless that's part of the specified behavior of the method), but in looking at the three instances that Andy proposed to fix, it seems fine to synchronize them as well.

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

PR: https://git.openjdk.org/jfx/pull/819


More information about the openjfx-dev mailing list