Minor: unmute some bytecode listing tests in JVM_IR
This commit is contained in:
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// WITH_RUNTIME
|
||||
|
||||
open class A<T> : Collection<T> {
|
||||
|
||||
Vendored
+49
@@ -0,0 +1,49 @@
|
||||
@kotlin.Metadata
|
||||
public class A {
|
||||
// source: 'stubsFromSuperclassNoBridges.kt'
|
||||
public method <init>(): void
|
||||
public method add(p0: java.lang.Object): boolean
|
||||
public method addAll(p0: java.util.Collection): boolean
|
||||
public method clear(): void
|
||||
public method contains(p0: java.lang.Object): boolean
|
||||
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
|
||||
public method getSize(): int
|
||||
public method isEmpty(): boolean
|
||||
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
|
||||
public method remove(p0: java.lang.Object): boolean
|
||||
public method removeAll(p0: java.util.Collection): boolean
|
||||
public method retainAll(p0: java.util.Collection): boolean
|
||||
public bridge final method size(): int
|
||||
public method toArray(): java.lang.Object[]
|
||||
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public class B {
|
||||
// source: 'stubsFromSuperclassNoBridges.kt'
|
||||
public method <init>(): void
|
||||
public bridge method contains(p0: java.lang.CharSequence): boolean
|
||||
public bridge final method contains(p0: java.lang.Object): boolean
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class C {
|
||||
// source: 'stubsFromSuperclassNoBridges.kt'
|
||||
public method <init>(): void
|
||||
public method add(p0: int, p1: java.lang.CharSequence): void
|
||||
public synthetic bridge method add(p0: int, p1: java.lang.Object): void
|
||||
public method addAll(p0: int, p1: java.util.Collection): boolean
|
||||
public @org.jetbrains.annotations.NotNull method get(p0: int): java.lang.CharSequence
|
||||
public synthetic bridge method get(p0: int): java.lang.Object
|
||||
public method indexOf(@org.jetbrains.annotations.NotNull p0: java.lang.CharSequence): int
|
||||
public bridge final method indexOf(p0: java.lang.Object): int
|
||||
public method lastIndexOf(@org.jetbrains.annotations.NotNull p0: java.lang.CharSequence): int
|
||||
public bridge final method lastIndexOf(p0: java.lang.Object): int
|
||||
public @org.jetbrains.annotations.NotNull method listIterator(): java.util.ListIterator
|
||||
public @org.jetbrains.annotations.NotNull method listIterator(p0: int): java.util.ListIterator
|
||||
public method remove(p0: int): java.lang.CharSequence
|
||||
public synthetic bridge method remove(p0: int): java.lang.Object
|
||||
public method set(p0: int, p1: java.lang.CharSequence): java.lang.CharSequence
|
||||
public synthetic bridge method set(p0: int, p1: java.lang.Object): java.lang.Object
|
||||
public @org.jetbrains.annotations.NotNull method subList(p0: int, p1: int): java.util.List
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
abstract class A<T> : List<T>
|
||||
abstract class B : List<Int>
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
@kotlin.Metadata
|
||||
public abstract class A {
|
||||
// source: 'noRemoveAtInReadOnly.kt'
|
||||
public method <init>(): void
|
||||
public method add(p0: int, p1: java.lang.Object): void
|
||||
public method add(p0: java.lang.Object): boolean
|
||||
public method addAll(p0: int, p1: java.util.Collection): boolean
|
||||
public method addAll(p0: java.util.Collection): boolean
|
||||
public method clear(): void
|
||||
public abstract method getSize(): int
|
||||
public method listIterator(): java.util.ListIterator
|
||||
public method listIterator(p0: int): java.util.ListIterator
|
||||
public method remove(p0: int): java.lang.Object
|
||||
public method remove(p0: java.lang.Object): boolean
|
||||
public method removeAll(p0: java.util.Collection): boolean
|
||||
public method retainAll(p0: java.util.Collection): boolean
|
||||
public method set(p0: int, p1: java.lang.Object): java.lang.Object
|
||||
public bridge final method size(): int
|
||||
public method subList(p0: int, p1: int): java.util.List
|
||||
public method toArray(): java.lang.Object[]
|
||||
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public abstract class B {
|
||||
// source: 'noRemoveAtInReadOnly.kt'
|
||||
public method <init>(): void
|
||||
public method add(p0: int): boolean
|
||||
public method add(p0: int, p1: int): void
|
||||
public synthetic bridge method add(p0: int, p1: java.lang.Object): void
|
||||
public synthetic bridge method add(p0: java.lang.Object): boolean
|
||||
public method addAll(p0: int, p1: java.util.Collection): boolean
|
||||
public method addAll(p0: java.util.Collection): boolean
|
||||
public method clear(): void
|
||||
public abstract method contains(p0: int): boolean
|
||||
public bridge final method contains(p0: java.lang.Object): boolean
|
||||
public abstract method getSize(): int
|
||||
public abstract method indexOf(p0: int): int
|
||||
public bridge final method indexOf(p0: java.lang.Object): int
|
||||
public abstract method lastIndexOf(p0: int): int
|
||||
public bridge final method lastIndexOf(p0: java.lang.Object): int
|
||||
public method listIterator(): java.util.ListIterator
|
||||
public method listIterator(p0: int): java.util.ListIterator
|
||||
public method remove(p0: int): int
|
||||
public synthetic bridge method remove(p0: int): java.lang.Object
|
||||
public method remove(p0: java.lang.Object): boolean
|
||||
public method removeAll(p0: java.util.Collection): boolean
|
||||
public method retainAll(p0: java.util.Collection): boolean
|
||||
public method set(p0: int, p1: int): java.lang.Integer
|
||||
public synthetic bridge method set(p0: int, p1: java.lang.Object): java.lang.Object
|
||||
public bridge final method size(): int
|
||||
public method subList(p0: int, p1: int): java.util.List
|
||||
public method toArray(): java.lang.Object[]
|
||||
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// FILE: test/JavaClass.java
|
||||
package test;
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
@kotlin.Metadata
|
||||
public interface test/A {
|
||||
// source: 'main.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public abstract class test/B {
|
||||
// source: 'main.kt'
|
||||
public method <init>(): void
|
||||
public method add(p0: java.lang.Object): boolean
|
||||
public method addAll(p0: java.util.Collection): boolean
|
||||
public method clear(): void
|
||||
public abstract method getSize(): int
|
||||
public method iterator(): java.util.Iterator
|
||||
public method remove(p0: java.lang.Object): boolean
|
||||
public method removeAll(p0: java.util.Collection): boolean
|
||||
public method retainAll(p0: java.util.Collection): boolean
|
||||
public bridge final method size(): int
|
||||
public method toArray(): java.lang.Object[]
|
||||
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
Vendored
-1
@@ -1,3 +1,2 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
abstract class A<T> : List<T>
|
||||
abstract class B<E> : A<E>()
|
||||
|
||||
compiler/testData/codegen/bytecodeListing/specialBridges/noSpecialBridgeIfPresentInSuperClass_ir.txt
Vendored
+28
@@ -0,0 +1,28 @@
|
||||
@kotlin.Metadata
|
||||
public abstract class A {
|
||||
// source: 'noSpecialBridgeIfPresentInSuperClass.kt'
|
||||
public method <init>(): void
|
||||
public method add(p0: int, p1: java.lang.Object): void
|
||||
public method add(p0: java.lang.Object): boolean
|
||||
public method addAll(p0: int, p1: java.util.Collection): boolean
|
||||
public method addAll(p0: java.util.Collection): boolean
|
||||
public method clear(): void
|
||||
public abstract method getSize(): int
|
||||
public method listIterator(): java.util.ListIterator
|
||||
public method listIterator(p0: int): java.util.ListIterator
|
||||
public method remove(p0: int): java.lang.Object
|
||||
public method remove(p0: java.lang.Object): boolean
|
||||
public method removeAll(p0: java.util.Collection): boolean
|
||||
public method retainAll(p0: java.util.Collection): boolean
|
||||
public method set(p0: int, p1: java.lang.Object): java.lang.Object
|
||||
public bridge final method size(): int
|
||||
public method subList(p0: int, p1: int): java.util.List
|
||||
public method toArray(): java.lang.Object[]
|
||||
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public abstract class B {
|
||||
// source: 'noSpecialBridgeIfPresentInSuperClass.kt'
|
||||
public method <init>(): void
|
||||
}
|
||||
Reference in New Issue
Block a user