Ambiguous method call
I have a constructor defined as:
public Handler( final Class clazz )
calling it like this:
new Handler( getClass() );
which calls down to:
public final native Class<?> getClass();
on Object, gives me this error:
Ambiguous method call: both 'Object.getClass()' and 'Object.getClass()' match.
I'm seeing similar noise on Object.equals() as well.
Is anyone else seeing this?
FYI this is with 106.491, but I've been seeing it for a few revisions now.
请先登录再写评论。
I started seeing this today in IU-111.69 (Ultimate 11.0) for the first time as far as I can recall.
And it went away on upgrade to 11.0.1. Might have just been the re-indexing though.
It's an intermittent bug. It has happened to me in 11.0.1. See and vote for http://youtrack.jetbrains.net/issue/IDEA-79680
PS I spoke too soon, I still have this on 11.1.3.