method signature: don't substitute twice during erasure (IDEA-167386)

This commit is contained in:
Anna.Kozlova
2017-02-01 15:47:45 +01:00
parent 5fb2be806e
commit e3352b820f
3 changed files with 15 additions and 1 deletions
@@ -622,4 +622,8 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testNotErasedReturnValueUnderJdk7() throws Exception {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_8, false);
}
public void testAvoidDblSubstitutionDuringErasureOfParameterTypesOfMethodSignature() throws Exception {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_8, false);
}
}