On Thu, 24 Nov 2022 00:12:04 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
> It makes no sense to enable the warning and not fix all the warnings in the > code. I would like to see 0 warnings in the problem list. The warning is for all unnecessary casts, which removes a lot of clutter. If, in some special cases, the cast is deemed to be beneficial, then it can stay. The warning should not be disabled because it's irrelevant to <1% of the cases. We can maybe fix this with a suppress warning (if one is available). If you don't want to see the warning, turn it off, but it doesn't mean it shouldn't be addressed. ------------- PR: https://git.openjdk.org/jfx/pull/960