Skip properties from Java classes for which the getter type is unknown
thus avoiding NPE when auto-generating external serializers. #KT-55681 Fixed
This commit is contained in:
committed by
Space Team
parent
a1894ed027
commit
0b4f534d35
+6
@@ -57,6 +57,12 @@ public class SerializationFirBlackBoxTestGenerated extends AbstractSerialization
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerialierJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() throws Exception {
|
||||
|
||||
+6
@@ -55,6 +55,12 @@ public class SerializationIrBoxTestGenerated extends AbstractSerializationIrBoxT
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerialierJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user