From 731fbf08ec288451abfb61e266ebbaf8742c352a Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Mon, 9 Jul 2018 19:05:00 +0300 Subject: [PATCH] suppress 2lambda conversion due to a javac bug --- .../codeInsight/navigation/GotoImplementationHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java b/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java index bd1709232774..bb3e06b34b1f 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java @@ -140,6 +140,8 @@ public class GotoImplementationHandler extends GotoTargetHandler { private final GotoData myGotoData; private final PsiReference myReference; + // due to javac bug: java.lang.ClassFormatError: Illegal field name "com.intellij.codeInsight.navigation.GotoImplementationHandler$this" in class com/intellij/codeInsight/navigation/GotoImplementationHandler$ImplementationsUpdaterTask + @SuppressWarnings("Convert2Lambda") ImplementationsUpdaterTask(@NotNull GotoData gotoData, @NotNull Editor editor, int offset, final PsiReference reference) { super(gotoData.source.getProject(), ImplementationSearcher.SEARCHING_FOR_IMPLEMENTATIONS, createComparatorWrapper(Comparator.comparing(new Function() {