On Mon, 21 Nov 2022 22:36:05 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> let's create a followup ticket - the messed up statements in Disposer and 
>> especially in PrismFontFactory:1401 are worrying.
>> 
>> cc: @prrace
>
> @andy-goryachev-oracle The ones in the various `Disposer` classes and 
> `PrismFontFactory` are functionally correct, but use an anti-pattern. The 
> block really is intentionally empty, but the better pattern for this is to 
> use `{}` rather than a `;` since the latter looks like you might have made a 
> mistake.

you are right - these are not bugs.

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

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

Reply via email to