JVM_IR KT-46562 don't use LambdaMetafactory for Serializable SAMs
TODO support serializable lambdas creation with LambdaMetafactory
This commit is contained in:
+10
@@ -17478,6 +17478,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/samExtFunWithCapturingLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("serializableSam1.kt")
|
||||
public void testSerializableSam1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/serializableSam1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("serializableSam2.kt")
|
||||
public void testSerializableSam2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/serializableSam2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleFunInterfaceConstructor.kt")
|
||||
public void testSimpleFunInterfaceConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/invokedynamic/sam/simpleFunInterfaceConstructor.kt");
|
||||
|
||||
Reference in New Issue
Block a user