JVM_IR KT-49765 bridge for throwing stub should just throw UOE

This commit is contained in:
Dmitry Petrov
2021-12-15 19:10:47 +03:00
committed by teamcity
parent 3f22321643
commit 8c71e38c92
17 changed files with 560 additions and 13 deletions
@@ -1785,6 +1785,17 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest {
runTest("compiler/testData/codegen/box/builtinStubMethods/customReadOnlyIterator.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/builtinStubMethods/bridgesForStubs")
@TestDataPath("$PROJECT_ROOT")
@NativeBlackBoxTestCaseGroupProvider(ExtTestCaseGroupProvider.class)
public class BridgesForStubs {
@Test
public void testAllFilesPresentInBridgesForStubs() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/bridgesForStubs"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
}
@Nested
@TestMetadata("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections")
@TestDataPath("$PROJECT_ROOT")