JDK-8238213: javac emits wrong error when calling an non-static overloaded method from static

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Oct 5 09:58:35 UTC 2020


Thanks - I've reset the fix version field and reassigned to Vicente - he 
can perhaps take a look and see what needs to be done to integrate this 
(this is an area where we would at least need some good testing 
coverage, perhaps by using the overload test framework that was put in 
few years ago - see [1] for an example).

Maurizio

[1] - 
https://github.com/openjdk/jdk/blob/master/test/langtools/tools/javac/resolve/tests/InnerOverOuter.java

On 03/10/2020 14:52, B. Blaser wrote:
> Hi Maurizio,
>
> I'm currently really too busy to integrate the new git process, other
> imperatives coming first.
> So, the best I can do is to postpone this wonderful fix ;-) to a
> subsequent version (TBD).
> But, if you need it impatiently to 16 (or so), feel free to push it at
> your convenience and simply list me as a contributor.
>
> Ciao,
> Bernard
>
> On Fri, 2 Oct 2020 at 22:48, Maurizio Cimadamore
> <maurizio.cimadamore at oracle.com> wrote:
>> Hi Bernard,
>> since there's not a lot of rush for getting this one in, I'd suggest it
>> maybe better for you to spend time to get acquainted with the new
>> process? For instance, I don't think we can "push on your behalf" (like
>> we could e.g. on mercurial if you provided a commit patch); the best we
>> could do I think would be to list you as a contributor.
>>
>> Let me know how you want to proceed. My sense is that you'd have to do
>> it sooner or later, so this might be as a good bug as any other :-)
>>
>> Maurizio


More information about the compiler-dev mailing list