[Reflection] Support java records in kotlin reflection
^KT-47760
This commit is contained in:
committed by
teamcityserver
parent
8dad8fa813
commit
17fc1da719
+6
@@ -129,6 +129,12 @@ public class BlackBoxModernJdkCodegenTestGenerated extends AbstractBlackBoxCodeg
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/compiledJavaSealedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaRecordsViaKotlinReflection.kt")
|
||||
public void testJavaRecordsViaKotlinReflection() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/javaRecordsViaKotlinReflection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaSealedClass.kt")
|
||||
public void testJavaSealedClass() throws Exception {
|
||||
|
||||
+6
@@ -129,6 +129,12 @@ public class IrBlackBoxModernJdkCodegenTestGenerated extends AbstractIrBlackBoxC
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/compiledJavaSealedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaRecordsViaKotlinReflection.kt")
|
||||
public void testJavaRecordsViaKotlinReflection() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/javaRecordsViaKotlinReflection.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaSealedClass.kt")
|
||||
public void testJavaSealedClass() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user