Add JVM ABI K1/K2 consistency tests
This commit is contained in:
committed by
Space Team
parent
5a1fb78fcd
commit
34bac48541
+15
@@ -0,0 +1,15 @@
|
||||
MODULE main
|
||||
CLASS Derived.class
|
||||
METHOD x()Ljava/lang/String;
|
||||
Annotation: method.invisibleAnnotations
|
||||
K1
|
||||
---
|
||||
K2
|
||||
@Lorg/jetbrains/annotations/NotNull;
|
||||
CLASS DerivedKt.class
|
||||
METHOD box()Ljava/lang/String;
|
||||
Annotation: method.invisibleAnnotations
|
||||
K1
|
||||
---
|
||||
K2
|
||||
@Lorg/jetbrains/annotations/NotNull;
|
||||
Vendored
+1
@@ -2,6 +2,7 @@
|
||||
// Note: works accidentally via backing field access
|
||||
// Field VS property: case 4.2
|
||||
// More or less duplicates the case in KT-34943/KT-54393
|
||||
// JVM_ABI_K1_K2_DIFF: KT-62483
|
||||
|
||||
// FILE: BaseJava.java
|
||||
public class BaseJava {
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
MODULE main
|
||||
CLASS TestKt$box$x$1$S$foo$1.class
|
||||
Property: class.superClassInternalName
|
||||
K1
|
||||
kotlin/jvm/internal/MutablePropertyReference0Impl
|
||||
K2
|
||||
kotlin/jvm/internal/PropertyReference0Impl
|
||||
K1
|
||||
set(Ljava/lang/Object;)V [public]
|
||||
K2
|
||||
---
|
||||
+2
@@ -1,4 +1,6 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// JVM_ABI_K1_K2_DIFF: KT-55017
|
||||
|
||||
// FILE: base/Jaba.java
|
||||
|
||||
package base;
|
||||
|
||||
Reference in New Issue
Block a user