RFC: draft API for JEP 269 Convenience Collection Factories

joe darcy joe.darcy at oracle.com
Sun Oct 18 17:45:21 UTC 2015

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



More information about the core-libs-dev mailing list