Fix some tests related to direct invoke optimization

- Fix test data of light class tests
  (SymbolLightClassesForLibraryTestGenerated).
- Revert the changes in kt8666.kt because they fail on JS IR, and it
  seems that this test is mostly needed for JS anyway.
- Use 'invoke(' as the pattern in bytecode text tests because plain
  'invoke' is used when these tests are run on JDK 11, where indy string
  concatenation is enabled by default and therefore we reference
  `java/lang/invoke/StringConcatFactory`.
This commit is contained in:
Alexander Udalov
2022-07-15 00:17:00 +02:00
parent 8014712569
commit 3b613b3745
18 changed files with 20 additions and 306 deletions
@@ -1,14 +0,0 @@
public final class C /* C*/ implements Tr {
private final int v;
@org.jetbrains.annotations.NotNull()
public java.lang.Integer foo();// foo()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer getV();// getV()
private static final int v$lambda$0();// v$lambda$0()
public C();// .ctor()
}