On Tue, 22 Dec 2020 19:39:57 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
> I checked JDK16 repository in SpotBugs 4.2.0 >  > I fixed only places in java.desktop module. > I didn't fixed places, where dereferencing is done inside method. Did it occur that maybe the previous de-reference without a null check is the real problem ? The proposed Raster change actually needs to be addressed as discussed inhttps://bugs.openjdk.java.net/browse/JDK-8255800 and so should not be part of this proposed change. DataBufferUShort may be the same. But *all* of them need to be re-examined rather than just blindly updating them as some tool suggests. ------------- Changes requested by prr (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/1869