reverted java highlighting: give up check of @PolymorphicSignature methods (IDEA-251449)

appeared to be a javac bug

GitOrigin-RevId: 1d17221830606f5bdc8d0db78fa97f94e9548799
This commit is contained in:
Anna Kozlova
2020-10-07 07:46:32 +00:00
committed by intellij-monorepo-bot
parent c8fe5a1584
commit 9355c487e2
2 changed files with 1 additions and 8 deletions
@@ -2,7 +2,7 @@ import java.lang.invoke.MethodHandle;
class MyTest {
private void m(MethodHandle handle) {
I stringSupplier = handle::invokeExact;
I stringSupplier = <error descr="Bad return type in method reference: cannot convert java.lang.Object to java.lang.String">handle::invokeExact</error>;
}
}
interface I {