eclipse warnings

Andy Goryachev andy.goryachev at oracle.com
Tue Dec 5 19:27:15 UTC 2023


> I did many warning fixes, and there are PR's outstanding with warning fixes, but they're not getting reviewed.
Are they still in Draft?

https://github.com/openjdk/jfx/pulls?q=is%3Aopen+is%3Apr+label%3Arfr

-andy


From: openjfx-dev <openjfx-dev-retn at openjdk.org> on behalf of John Hendrikx <john.hendrikx at gmail.com>
Date: Tuesday, December 5, 2023 at 03:16
To: openjfx-dev at openjdk.org <openjfx-dev at openjdk.org>
Subject: Re: eclipse warnings

IMHO, there is no capacity for this.

I did many warning fixes, and there are PR's outstanding with warning fixes, but they're not getting reviewed.

There are other PR's outstanding that are more valuable, but are not getting reviewed.

I feel we need to fix that first before we can endulge in warning fixes.

As for the potential null pointer access, it's often a false positive; static analyzers have a hard time determining if a loop is entered at least once (or an if in that loop) and so will warn that a local can maybe be null if it was initalized inside a loop.

--John
On 04/12/2023 17:34, Andy Goryachev wrote:

Dear colleagues:

Imported the openjfx project into another workspace with a more stringent error checking and discovered a few issues:


  1.  potential null pointer access: 295
  2.  unnecessary cast or instanceof: 190
  3.  redundant null check: 61

Do we want to clean these up?

-andy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20231205/49a7828d/attachment.htm>


More information about the openjfx-dev mailing list