On Mon, 7 Feb 2022 15:03:07 GMT, yosbits <d...@openjdk.java.net> wrote:
> At least the following method do not need to remove the static modifier, but > they do. Is there any benefit? > > ```java > public int getNumBands(ImageType type) { > ``` I think the fact that the method doesn't access any instance fields is an arbitrary implementation detail. Making the method non-static aligns its usage with all other methods, which can only be called on a instance reference. ------------- PR: https://git.openjdk.java.net/jfx/pull/676