On 10/17/2015 10:10 AM, Andrew Haley wrote:
On 10/17/2015 05:46 PM, Stuart Marks wrote:
(I view calling an "inherited" class static method to be poor coding style, but
neither javac nor NetBeans warns about it.)
That surely can be fixed.  Should we start a feature request?

I believe

    javac -Xlint:static ...

does the check of interest; from running javac -X

    static        Warn about accessing a static member using an instance

HTH,

-Joe


Reply via email to